RFR: 8338981: Access to private classes should be permitted inside the permits clause of the enclosing top-level class [v7]

Joe Darcy darcy at openjdk.org
Tue Oct 1 23:05:38 UTC 2024


On Sat, 28 Sep 2024 22:31:14 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:
> 
>   remove trailing line

If this fix is proposing to align javac behavior with the JLS, while no spec change would be needed. A CSR would need to be filed for the behavioral change.

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

PR Comment: https://git.openjdk.org/jdk/pull/20718#issuecomment-2387232149


More information about the compiler-dev mailing list