8011930: Long.parseLong(String, int) has inaccurate limit on radix for using 'L'
authordarcy
Wed, 10 Apr 2013 16:38:26 -0700
changeset 16846 f6a073580d8e
parent 16845 ec2453e7d4ab
child 16847 c8b6eab9a611
8011930: Long.parseLong(String, int) has inaccurate limit on radix for using 'L' Reviewed-by: smarks
jdk/src/share/classes/java/lang/Long.java
--- a/jdk/src/share/classes/java/lang/Long.java	Wed Apr 10 14:06:21 2013 -0700
+++ b/jdk/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: