CSR :
|
|
Relates :
|
The changes as part of JDK-8256861: 1. Update the JLS to base equality of record classes on the "value of the component field", rather than the value returned by the component accessor. 2. Update the equality of primitives to use the appropriate primitive wrapper `compare` method, rather than the boxing valueOf along with equals. The specification of java.lang.Record should consider what parts, if any, should be updated to align itself reasonably with the equality definition in the JLS.
|