hotspot/test/runtime/modules/AccessCheckRead.java
changeset 46404 ae62ba99a1a7
parent 44520 0553e129e0ec
--- a/hotspot/test/runtime/modules/AccessCheckRead.java	Mon Apr 24 08:47:38 2017 -0400
+++ b/hotspot/test/runtime/modules/AccessCheckRead.java	Mon Apr 24 12:08:28 2017 -0400
@@ -55,13 +55,13 @@
         // Define a module for p1.
         m1x = ModuleHelper.ModuleObject("module_one", this_cldr, new String[] { "p1" });
         assertNotNull(m1x, "Module should not be null");
-        ModuleHelper.DefineModule(m1x, "9.0", "m1x/here", new String[] { "p1" });
+        ModuleHelper.DefineModule(m1x, false, "9.0", "m1x/here", new String[] { "p1" });
         ModuleHelper.AddReadsModule(m1x, jlObject_jlM);
 
         // Define a module for p2.
         m2x = ModuleHelper.ModuleObject("module_two", this_cldr, new String[] { "p2" });
         assertNotNull(m2x, "Module should not be null");
-        ModuleHelper.DefineModule(m2x, "9.0", "m2x/there", new String[] { "p2" });
+        ModuleHelper.DefineModule(m2x, false, "9.0", "m2x/there", new String[] { "p2" });
         ModuleHelper.AddReadsModule(m2x, jlObject_jlM);
 
         // Make package p1 in m1x visible to everyone.