[lworld] RFR: 8359370: [lworld] allow instance fields of identity classes to be readable in the prologue phase [v13]
Maurizio Cimadamore
mcimadamore at openjdk.org
Thu Aug 28 16:41:06 UTC 2025
On Thu, 28 Aug 2025 16:29:21 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
>>
>> minor diff
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java line 1302:
>
>> 1300: public void visitClassDef(JCClassDecl classDecl) {
>> 1301: super.visitClassDef(classDecl);
>> 1302: classDeclAndLambdaHelper(TreeInfo.symbolsFor(classDecl.defs));
>
> Does this look for early references in all the symbols referenced inside the class?
Also, why do we use `symbolsFor` instead of recursing this this visitor?
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1523#discussion_r2307951826
More information about the valhalla-dev
mailing list