RFR 8193033 remove terminally deprecated sun.misc.Unsafe.defineClass

Alan Bateman Alan.Bateman at oracle.com
Thu Mar 15 17:39:50 UTC 2018


On 15/03/2018 17:06, Paul Sandoz wrote:
> Hi,
>
> Please review this patch to remove sun.misc.Unsafe.defineClass in 11.
>
> There has been much outreach, by Alan and the Jigsaw team, about its public replacement MethodHandles.Lookup.defineClass.
>
> CSR is here:
>
>    https://bugs.openjdk.java.net/browse/JDK-8199699
>
Looks good, I assume the import of java.security.ProtectionDomain can be 
removed too.

-Alan


More information about the jigsaw-dev mailing list