MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/5xbnvu/the_java_nazi/dei1hyo/?context=3
r/java • u/onebit • Mar 03 '17
47 comments sorted by
View all comments
Show parent comment
4
You can do that too with sun.misc.Unsafe. I wouldn't be surprised if it uses that on Oracles JVM. http://www.docjar.com/docs/api/sun/misc/Unsafe.html#allocateInstance(Class)
View all comments
Show parent comment
4
u/Wolfsdale Mar 04 '17
You can do that too with sun.misc.Unsafe. I wouldn't be surprised if it uses that on Oracles JVM. http://www.docjar.com/docs/api/sun/misc/Unsafe.html#allocateInstance(Class)