-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 14, 16
-
b18
-
generic
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8324830 | 11.0.24-oracle | Nibedita Jena | P3 | Resolved | Fixed | b01 |
JDK-8324831 | 8u421 | Nibedita Jena | P3 | Resolved | Fixed | b03 |
A DESCRIPTION OF THE PROBLEM :
https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html#orElseThrow-java.util.function.Supplier-
There is a superfluous string of "extends Throwable" at end of method declaration in the above section of the doc.
Also at end of that same section, "X extends Throwable" appears yet again (after "NullPointerException - if no value is present and exceptionSupplier is null"), which is invalid.
REGRESSION : Last worked in version 8
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Look at docs at the above URL, for Java versions 8 through 10 inclusive.
FREQUENCY : always
https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html#orElseThrow-java.util.function.Supplier-
There is a superfluous string of "extends Throwable" at end of method declaration in the above section of the doc.
Also at end of that same section, "X extends Throwable" appears yet again (after "NullPointerException - if no value is present and exceptionSupplier is null"), which is invalid.
REGRESSION : Last worked in version 8
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Look at docs at the above URL, for Java versions 8 through 10 inclusive.
FREQUENCY : always
- backported by
-
JDK-8324830 spurious "extends Throwable" at end of Optional.orElseThrow method declaration
- Resolved
-
JDK-8324831 spurious "extends Throwable" at end of Optional.orElseThrow method declaration
- Resolved
- links to
-
Commit openjdk/jdk/8cf8e463
-
Review openjdk/jdk/417
-
Review(master) openjdk/jdk11u-dev/2772