Review Request JDK-8181443: Replace usages of jdk.internal.misc.Unsafe with MethodHandles.Lookup.defineClass

Phil Race philip.race at oracle.com
Wed Oct 3 20:01:12 UTC 2018


Except the 20 modules listed as module-info to which there is a 
qualified export :-)

-phil

On 10/03/2018 12:49 PM, Alan Bateman wrote:
>
>
> Nothing outside of java.base should be making direct use of classes in 
> jdk.internal.misc so it's okay to refactor or remove classes or 
> methods as needed. In this case, the internal defineClass is an 
> attractive nuisance as there may be libraries tempted to hack into it. 
> So I think it should be removed at some point. 



More information about the hotspot-jfr-dev mailing list