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

Vicente Romero vromero at openjdk.java.net
Fri Dec 11 05:10:56 UTC 2020


On Fri, 11 Dec 2020 02:07:50 GMT, Vicente Romero <vromero at openjdk.org> 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

> _Mailing list message from [Joe Darcy](mailto:joe.darcy at oracle.com) on [compiler-dev](mailto:compiler-dev at openjdk.java.net):_
> 
> 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:

true, thanks, I have created another PR based on jdk16: https://github.com/openjdk/jdk16/pull/5

-------------

PR: https://git.openjdk.java.net/jdk/pull/1742


More information about the core-libs-dev mailing list