[lworld] RFR: 8281166: [lworld] javac should generate BSM to invoke the static factory for value class

Srikanth Adayapalam sadayapalam at openjdk.java.net
Mon Feb 7 07:41:05 UTC 2022


When constructor reference expressions invole value classes, ensure that TransValues will see the constructor call in order for that call to be transformed into factory method invocation.

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

Commit messages:
 - Fix white space errors
 - 8281166: javac should generate BSM to invoke the static factory for value class

Changes: https://git.openjdk.java.net/valhalla/pull/629/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=629&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281166
  Stats: 72 lines in 2 files changed: 71 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/629.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/629/head:pull/629

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



More information about the valhalla-dev mailing list