On Sat, 2 Apr 2022 23:21:03 GMT, Phil Race <p...@openjdk.org> wrote:

> Update Swing classes to use JEP 409 sealed and non-sealed modifiers and add 
> the final modifier where appropriate.
> 
> jtreg tests and JCK API tests pass
> 
> CSR for review here : https://bugs.openjdk.java.net/browse/JDK-8284214

src/java.desktop/share/classes/javax/swing/GroupLayout.java line 2461:

> 2459:      */
> 2460:     public sealed class ParallelGroup extends Group
> 2461:          permits BaselineGroup {

The BaselineGroup class is private so not part of the public API, is it fine to 
mention the non-public class in the permits block for the public class?

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

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

Reply via email to