[lworld] RFR: 8273301: [lworld] Bootstrap of instance-capturing lambda fails for reference favoring primitive types.

Srikanth Adayapalam sadayapalam at openjdk.java.net
Mon Jan 10 14:35:51 UTC 2022


On Thu, 2 Sep 2021 20:10:36 GMT, Jesper Steen Møller <jespersm at openjdk.org> wrote:

> Fix the test by adjusting bootstrap parameters, like it was fixed in JDK-8271583.

Jesper, I think this PR may be abandoned and the related JBS ticket closed as Not an Issue. 
Via https://bugs.openjdk.java.net/browse/JDK-8279431 all support for ref-default classes has
been ripped out - these are subsumed by value classes - the so called B2 classes - which are
'L' types (reference types) really. Value classes are reference types that are final, whose instances are
immutable after construction, lack identity and are marked as ACC_VALUE in class files.

The whole inlining/flattening thing is an "optimization" - so these classes are reference classes for
all practical purposes. Against that backdrop I think this PR has lost its relavance,

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

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



More information about the valhalla-dev mailing list