[lworld] RFR: 8244231: [lworld] Add support for ref-default and val-default inline classes.

Srikanth Adayapalam sadayapalam at openjdk.java.net
Mon Jul 19 06:26:29 UTC 2021


On Fri, 16 Jul 2021 08:05:02 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

> Code changes and tests

src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java line 2636:

> 2634:                         wantedFlavor = firstExplicitBound.getFlavor();
> 2635:                     // Todo: Handle Type variable case.
> 2636:                 }

This TODO is captured as a follow up task in JDK-8270882

src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java line 987:

> 985:                     c.flags_field |= NOOUTERTHIS;
> 986:                 }
> 987:                 attribClass(tree.pos(), c);

This chunk purportedly introduced to serve the purpose of "avoiding further secondary errors" had outlived its purpose and is removed now. This change is not "essential" to the overall implementation and is a incidental cleanup

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

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


More information about the valhalla-dev mailing list