Created
February 9, 2018 22:08
-
-
Save bandrzejczak/dcf8bf71676f181d02a0c7d49b062b31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Field field = Unsafe.class.getDeclaredField("theUnsafe"); | |
field.setAccessible(true); | |
Unsafe unsafe = (Unsafe) field.get(null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment