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

Paul Sandoz paul.sandoz at oracle.com
Thu Mar 15 18:06:17 UTC 2018



> On Mar 15, 2018, at 10:39 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> 
> 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.
> 

Yes, thanks,
Paul.


More information about the jigsaw-dev mailing list