hg: jdk9/sandbox/jdk: 8066612: Add a test that will call getDeclaredFields() on all classes and try to set them accessible.

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Dec 16 16:49:35 UTC 2014


Changeset: 70e68970bdee
Author:    dfuchs
Date:      2014-12-16 17:32 +0100
URL:       http://hg.openjdk.java.net/jdk9/sandbox/jdk/rev/70e68970bdee

8066612: Add a test that will call getDeclaredFields() on all classes and try to set them accessible.
Summary: This test use the jrt:/ file system to find the name of all classes, then loads each of them, get their declared fields, and attempt to call setAccessible.
Reviewed-by: coffeys, dholmes, plevart

+ test/java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java



More information about the jdk9-sandbox-changes mailing list