RFR: 8338981: Access to private classes should be permitted inside the permits clause of the enclosing top-level class [v14]
Jan Lahoda
jlahoda at openjdk.org
Thu Oct 10 13:12:18 UTC 2024
On Wed, 9 Oct 2024 11:34:24 GMT, Evemose <duke at openjdk.org> wrote:
>> Fix involves adding new flag to after context that indicates that currently resolved symbol is in permits clause
>
> Evemose has updated the pull request incrementally with one additional commit since the last revision:
>
> Revert bugid change
I am sorry for not fully realizing this sooner, I forgot about it. But, the JLS older than 19 didn't have this provision for the nested private classes, I believe. Do we need to limit this to only `-source 19+`?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20718#issuecomment-2405050222
More information about the compiler-dev
mailing list