News for hackers. Stuff that matters.
Re:Removal of Unsafe in Java 9 – A disaster in the making by twic on Monday July 13, 2015 @01:56PM (#9879777)
This is how you get access to Unsafe:

  Field theUnsafe = Unsafe.class.getDeclaredField("theUnsafe");
  theUnsafe.setAccessible(true);
  Unsafe unsafe = (Unsafe) theUnsafe.get(null);
Reflection, but no stack unwinding.

There are no comments on this comment yet.