-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 15
-
Component/s: specification
-
None
-
b28
The draft specification for the implicitly declared `equals` method for record classes is incorrect when dealing with primitive types (specifically around equality of `NaN`). The implementation has already been changed. The specification needs updating to match the implementation.
Also removing stale text in 1.5 describing records as a preview feature.
Also removing stale text in 1.5 describing records as a preview feature.
- relates to
-
JDK-8257598 Clarify what component values are used in Record::equals
-
- Resolved
-
-
JDK-8257086 Clarify differences between {Float, Double}.equals and ==
-
- Resolved
-
-
JDK-8253605 implementing Record Classes as a standard feature in Java
-
- Closed
-