RFR: 8283470: Update java.lang.invoke.VarHandle to use sealed classes

Joe Darcy darcy at openjdk.java.net
Wed Mar 23 16:58:34 UTC 2022


On Wed, 23 Mar 2022 16:27:29 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> This patch changes VarHandle and its implementation hierarchy to use sealed classes.  All VarHandle permitted classes are package-private and either final or sealed abstract classes.
> 
> Please also review the CSR: https://bugs.openjdk.java.net/browse/JDK-8283540

Looks fine.

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

Marked as reviewed by darcy (Reviewer).

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


More information about the core-libs-dev mailing list