On Mon, 16 Mar 2026 17:10:23 GMT, Chen Liang <[email protected]> wrote:

>> Vicente Romero has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   another iteration
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java line 1458:
> 
>> 1456:             if (t.tsym.isInner() &&
>> 1457:                     t.tsym.isEnclosedBy(localEnv.enclClass.sym) &&
>> 1458:                     !t.tsym.isStatic() &&
> 
> Is this check now redundant when there is `t.tsym.isInner()`?

yes, good catch

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2231#discussion_r2942027978

Reply via email to