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

Vicente Romero vromero at openjdk.org
Thu Oct 10 15:08:11 UTC 2024


On Thu, 10 Oct 2024 13:09:10 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> 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+`?

good catch, yes I agree

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

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


More information about the compiler-dev mailing list