Created
March 9, 2010 13:51
-
-
Save shellac/326585 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
public class FieldTest { | |
public String f = "hi"; | |
public static void main(String[] args) throws Exception { | |
boolean a = FieldTest.class.getDeclaredField("f").isAccessible(); | |
System.out.println("Got: " + a); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment