RFR: 8257598: Clarify what component values are used in Record::equals

Joe Darcy joe.darcy at oracle.com
Fri Dec 11 02:25:46 UTC 2020


If this is meant for JDK 16, it is easier overall if PR is done against 
the JDK 16 repo.

-Joe

On 12/10/2020 6:13 PM, Vicente Romero wrote:
> Please review this patch which modifies the spec for method java.lang.Record::equals. It states that the implementation of this method should use the record fields for the comparison instead of the accessors.
>
> TIA,
> Vicente
>
> -------------
>
> Commit messages:
>   - Merge branch 'master' into JDK-8257598
>   - Merge branch 'master' into JDK-8257598
>   - 8257598: Clarify what component values are used in Record::equals
>
> Changes: https://git.openjdk.java.net/jdk/pull/1742/files
>   Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1742&range=00
>    Issue: https://bugs.openjdk.java.net/browse/JDK-8257598
>    Stats: 135 lines in 2 files changed: 132 ins; 1 del; 2 mod
>    Patch: https://git.openjdk.java.net/jdk/pull/1742.diff
>    Fetch: git fetch https://git.openjdk.java.net/jdk pull/1742/head:pull/1742
>
> PR: https://git.openjdk.java.net/jdk/pull/1742


More information about the core-libs-dev mailing list