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

Srikanth Adayapalam sadayapalam at openjdk.java.net
Mon Feb 7 10:22:39 UTC 2022


On Mon, 7 Feb 2022 07:24:36 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 8b5c17ba
Author:    Srikanth Adayapalam <sadayapalam at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/8b5c17ba3d714adaeb43a62624db800122529ed2
Stats:     72 lines in 2 files changed: 71 ins; 0 del; 1 mod

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

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

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



More information about the valhalla-dev mailing list