Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8030317 | 8u5 | Brian Goetz | P4 | Resolved | Fixed | b01 |
Description
Per EG discussion a notice is added to the Optional* classes to provide warning against using identity semantics on these objects
Additionally as pointed out by bitterfox, there is an incorrect method name in OptionalInt OptionalLong and OptionalDouble. The class documentation for each refers to "get()" whereas the actual name is getXXX where XXX is the box type name.
Additionally as pointed out by bitterfox, there is an incorrect method name in OptionalInt OptionalLong and OptionalDouble. The class documentation for each refers to "get()" whereas the actual name is getXXX where XXX is the box type name.
Attachments
Issue Links
- backported by
-
JDK-8030317 Add value-type notice to Optional* classes
- Resolved
- relates to
-
JDK-8029551 Add value-type notice to java.time classes
- Closed