< prev index next >
test/runtime/modules/CCE_module_msg.java
Print this page
*** 83,93 ****
ClassLoader this_cldr = CCE_module_msg.class.getClassLoader();
// Define a module for p2.
Object 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.AddReadsModule(m2x, jlObject_jlrM);
try {
ModuleHelper.AddModuleExportsToAll(m2x, "p2");
Object p2Obj = new p2.c2();
--- 83,93 ----
ClassLoader this_cldr = CCE_module_msg.class.getClassLoader();
// Define a module for p2.
Object m2x = ModuleHelper.ModuleObject("module_two", this_cldr, new String[] { "p2" });
assertNotNull(m2x, "Module should not be null");
! ModuleHelper.DefineModule(m2x, false, "9.0", "m2x/there", new String[] { "p2" });
ModuleHelper.AddReadsModule(m2x, jlObject_jlrM);
try {
ModuleHelper.AddModuleExportsToAll(m2x, "p2");
Object p2Obj = new p2.c2();
< prev index next >