RFR: 8338981: Access to private classes should be permitted inside the permits clause of the enclosing top-level class [v4]
Evemose
duke at openjdk.org
Sun Sep 29 08:38:36 UTC 2024
On Fri, 27 Sep 2024 16:04:56 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> I think this change needs more test cases so that we can be sure that we are testing most of the possible combinations
I have tried to imagine some test cases where something could go wrong. Not really sure how to verify everything concidering the fact that permits is the last clause before attributing class code, which is allowed to access any private members, but I added some test cases veryfying everything from a different angles
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20718#issuecomment-2381263576
More information about the compiler-dev
mailing list