Skip to content

Instantly share code, notes, and snippets.

@chalos
Created January 12, 2017 16:29
Show Gist options
  • Save chalos/69593d49b55d83c04daf5df1d91cb715 to your computer and use it in GitHub Desktop.
Save chalos/69593d49b55d83c04daf5df1d91cb715 to your computer and use it in GitHub Desktop.
Accessing package and protected class members
grant {
permission java.lang.RuntimePermission "accessDeclaredMembers"
permission java.lang.reflection.ReflectionPermission "suppressAccessCheck"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment