8011930: Long.parseLong(String, int) has inaccurate limit on radix for using 'L'
Reviewed-by: smarks
--- 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: