[lworld] Integrated: 8267923: [lworld] Javac's implementation differs from JEP401 in a few matters.

Srikanth Adayapalam sadayapalam at openjdk.java.net
Mon May 31 12:57:12 UTC 2021


Cumulative fix for the following issues:

    JDK-8267918 - Javac tolerates synchronizing on a primitive reference type
    JDK-8267907 - Withdraw support for the experimental option -XDallowValueMemberCycles
    JDK-8267843 - Duplicate error when primitive class instance is passed around before being fully initialized
    JDK-8267841 - A primitive class that implements Cloneable is tolerated by javac
    JDK-8267835 - Javac tolerates vacuous chaining to super constructor from primitive class constructor
    JDK-8267965 - Javac disallows calls to super.{hashCode(), equals(), toString()} on a primitive instance receiver

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

Commit messages:
 - Fix failures in tier1
 - 8267835: Javac tolerates vacuous chaining to super constructor from primitive class constructor
 - 8267843: Double diagnostics when primitive class instance is passed around before being fully initialized
 - 8267965:  Javac disallows calls to super.{hashCode(), equals(), toString()} on a primitive instance receiver
 - 8267841: A primitive class that implements Cloneable is tolerated by javac
 - 8267918:  Javac tolerates synchronizing on a primitive reference type
 - 8267907: Withdraw support for the experimental option -XDallowValueMemberCycles

Changes: https://git.openjdk.java.net/valhalla/pull/432/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=432&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267923
  Stats: 308 lines in 19 files changed: 271 ins; 20 del; 17 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/432.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/432/head:pull/432

PR: https://git.openjdk.java.net/valhalla/pull/432



More information about the valhalla-dev mailing list