Review CSR JDK-8266760: Remove sun.misc.Unsafe::defineAnonymousClass

Mandy Chung mandy.chung at oracle.com
Mon May 10 19:26:33 UTC 2021


Hidden classes were added in Java SE 15. Class data support was added in 
16. `sun.misc.Unsafe::defineAnonymousClass` was deprecated in JDK 15 and 
deprecated for terminally removal in JDK 16.

I propose to remove `sun.misc.Unsafe::defineAnonymousClass` from JDK 17:
CSR: https://bugs.openjdk.java.net/browse/JDK-8266760

Comments?

Mandy



More information about the valhalla-dev mailing list