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

Vicente Romero vromero at openjdk.java.net
Fri Dec 11 02:13:10 UTC 2020


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