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

Vicente Romero vromero at openjdk.org
Thu Oct 24 19:58:11 UTC 2024


On Sat, 19 Oct 2024 11:57:08 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 20 additional commits since the last revision:
> 
>  - Merge branch 'openjdk:master' into selaed-permits-allow-private-members
>  - remove logging error
>  - Merge remote-tracking branch 'origin/selaed-permits-allow-private-members' into selaed-permits-allow-private-members
>  - Revert bugid change
>  - Change bugid
>  - report feature error
>  - add feature
>  - make method names shorter
>  - fix test failures 3
>  - fix test failures 2
>  - ... and 10 more: https://git.openjdk.org/jdk/compare/a673a08c...38dd1b5a

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties line 3250:

> 3248:     module imports
> 3249: 
> 3250: compiler.misc.feature.private.members.in.permits.clause=\

this one is not used now, can be removed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20718#discussion_r1815623686


More information about the compiler-dev mailing list