diff -r fffedc5e5cf8 -r 80e5da81fb2c hotspot/test/runtime/modules/AccessCheck/DiffCL_CheckRead.java --- a/hotspot/test/runtime/modules/AccessCheck/DiffCL_CheckRead.java Fri Apr 29 22:40:51 2016 -0400 +++ b/hotspot/test/runtime/modules/AccessCheck/DiffCL_CheckRead.java Sun May 01 12:47:00 2016 +0300 @@ -27,6 +27,7 @@ * @test * @summary Test that if module m1 can not read module m2, then class p1.c1 * in module m1 can not access p2.c2 in module m2. + * @modules java.base/jdk.internal.misc * @library /testlibrary /test/lib * @compile myloaders/MyDiffClassLoader.java * @compile p2/c2.java