On Sun, 20 Mar 2022 21:31:15 GMT, Joe Darcy <da...@openjdk.org> wrote:

> Small refactoring to use sealed classes in the MethodHandle implementation 
> hierarchy.
> 
> DelegatingMethodHandle is non-sealed rather than sealed since it has two 
> subclasses, one defined as a nested class and only a separate type in the 
> same package. The permits clause does not allow listed those two kinds of 
> subclasses.
> 
> Please also review the corresponding CSR 
> https://bugs.openjdk.java.net/browse/JDK-8283434

This pull request has now been integrated.

Changeset: f1624450
Author:    Joe Darcy <da...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/f16244509df7659572bfd23e55a62bb9a891000a
Stats:     23 lines in 6 files changed: 6 ins; 0 del; 17 mod

8283416: Update java.lang.invoke.MethodHandle to use sealed classes

Reviewed-by: sundar, mchung

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

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

Reply via email to