There's a whole set of invariant tests that should be applied to the entire jdk.
"Find all the classes that can be loaded, load them, and check all the
invariants you can think of!"

http://cr.openjdk.java.net/~martin/webrevs/openjdk9/Class.getMethods-benchmark/test/java/lang/Class/getMethods/LoadAllClassesAndMethods.java.html

But do we have any professional test-writers?

On Mon, Dec 1, 2014 at 9:48 AM, Seán Coffey <sean.cof...@oracle.com> wrote:
> on the test side would it be worth testing all public classes available (e.g
> in rt.jar ?) to ensure that
> Field.setAccessible works as expected and that we don't hit this issue again
> ? It might be some
> what of a heavy test for jtreg inclusion though.

Reply via email to