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

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Tue Dec 16 16:34:43 UTC 2014


Changeset: 70e68970bdee
Author:    dfuchs
Date:      2014-12-16 17:32 +0100
URL:       http://hg.openjdk.java.net/jdk9/dev/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-dev-changes mailing list