On Tue, 22 Mar 2022 04:38:15 GMT, ExE Boss <[email protected]> wrote:
> javac should be changed to allow fully qualified access to private inner
> classes in the permits clause of an enclosing class.
This is not how private works, private means accessible between the '{' and the
'}' of the class.
The permits clause is declared outside of the '{' and the '}' of the class,
thus a private member class is not visible from the permits clause.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7881