changeset 7272:b0458dd21ba6

8011930: Long.parseLong(String, int) has inaccurate limit on radix for using 'L' Reviewed-by: smarks
author darcy
date Wed, 10 Apr 2013 16:38:26 -0700
parents 863da64214e8
children 6f8e1428f7c3
files src/share/classes/java/lang/Long.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/Long.java	Wed Apr 10 14:06:21 2013 -0700
+++ b/src/share/classes/java/lang/Long.java	Wed Apr 10 16:38:26 2013 -0700
@@ -479,7 +479,7 @@
      * of the string as a type indicator, as would be permitted in
      * Java programming language source code - except that either
      * {@code L} or {@code l} may appear as a digit for a
-     * radix greater than 22.
+     * radix greater than or equal to 22.
      *
      * <p>An exception of type {@code NumberFormatException} is
      * thrown if any of the following situations occurs: