On Fri, 29 Aug 2025 12:02:50 GMT, Vicente Romero <vrom...@openjdk.org> wrote:

>> I understand -- but in the prologue of Foo we can have a Bar.this where Bar 
>> is some enclosing class?
>> 
>> 
>> class Foo {
>>         class Bar {
>>             Bar() { Object o = Foo.this; super();}
>>         }
>> }
>
> yep I see, there seems to be a bug here, thanks

What has fixed this exactly? It seems like this was already working as expected 
because `TreeInfo.isExplicitThisReference` already checks for possible 
enclosing types?

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/1523#discussion_r2313751756

Reply via email to