mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-21 07:45:11 +00:00
8011930: Long.parseLong(String, int) has inaccurate limit on radix for using 'L'
Reviewed-by: smarks
This commit is contained in:
parent
87e056aa00
commit
6b6510941e
@ -479,7 +479,7 @@ public final class Long extends Number implements Comparable<Long> {
|
||||
* 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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user