hotspot/test/runtime/modules/CCE_module_msg.java
changeset 46404 ae62ba99a1a7
parent 44520 0553e129e0ec
equal deleted inserted replaced
46403:f2b91b928476 46404:ae62ba99a1a7
    82         ClassLoader this_cldr = CCE_module_msg.class.getClassLoader();
    82         ClassLoader this_cldr = CCE_module_msg.class.getClassLoader();
    83 
    83 
    84         // Define a module for p2.
    84         // Define a module for p2.
    85         Object m2x = ModuleHelper.ModuleObject("module_two", this_cldr, new String[] { "p2" });
    85         Object m2x = ModuleHelper.ModuleObject("module_two", this_cldr, new String[] { "p2" });
    86         assertNotNull(m2x, "Module should not be null");
    86         assertNotNull(m2x, "Module should not be null");
    87         ModuleHelper.DefineModule(m2x, "9.0", "m2x/there", new String[] { "p2" });
    87         ModuleHelper.DefineModule(m2x, false, "9.0", "m2x/there", new String[] { "p2" });
    88         ModuleHelper.AddReadsModule(m2x, jlObject_jlM);
    88         ModuleHelper.AddReadsModule(m2x, jlObject_jlM);
    89 
    89 
    90         try {
    90         try {
    91             ModuleHelper.AddModuleExportsToAll(m2x, "p2");
    91             ModuleHelper.AddModuleExportsToAll(m2x, "p2");
    92             Object p2Obj = new p2.c2();
    92             Object p2Obj = new p2.c2();