On Thu, 28 Aug 2025 16:29:21 GMT, Maurizio Cimadamore <[email protected]>
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