Skip to content

Instantly share code, notes, and snippets.

@bandrzejczak
Created February 9, 2018 22:08
Show Gist options
  • Save bandrzejczak/63e2f74aebafb548454c1d1b5c2fb564 to your computer and use it in GitHub Desktop.
Save bandrzejczak/63e2f74aebafb548454c1d1b5c2fb564 to your computer and use it in GitHub Desktop.
Constructor<Unsafe> constructor = Unsafe.class.getDeclaredConstructor();
constructor.setAccessible(true);
Unsafe unsafe = constructor.newInstance();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment