On Mon, 21 Mar 2022 06:08:32 GMT, Athijegannathan Sundararajan 
<sun...@openjdk.org> wrote:

> $ javac com/acme/*.java
>
> is fine. Am I missing something?

If you make P.Q private, it will fail the compilation.

To make `DelegatingMethodHandle` a sealed class, we could make 
`AsVarargsCollector` and `WrappedMember` package-private classes.

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

PR: https://git.openjdk.java.net/jdk/pull/7881

Reply via email to