On Wed, 30 Mar 2022 20:05:31 GMT, Phil Race <p...@openjdk.org> wrote:

> JDK 17 delivered JEP 409: Sealed Classes : https://openjdk.java.net/jeps/409
> In essence this JEP allows a class to limit which classes can subclass it.
> 
> Path2D can be sealed because no code outside the package can sub-class it 
> directly.
> 
> However the extant subclasses need to be made non-sealed as they can be 
> sub-classed.
> 
> jtreg tests and JCK API tests pass.
> 
> CSR here : https://bugs.openjdk.java.net/browse/JDK-8284031

Marked as reviewed by kizune (Reviewer).

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

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

Reply via email to