< prev index next >

test/runtime/modules/ModuleHelper.java

Print this page

        

*** 29,42 **** import sun.hotspot.WhiteBox; public class ModuleHelper { ! public static void DefineModule(Object module, String version, String location, ! String[] pkgs) throws Throwable { WhiteBox wb = WhiteBox.getWhiteBox(); ! wb.DefineModule(module, version, location, pkgs); } public static void AddModuleExports(Object from, String pkg, Object to) throws Throwable { WhiteBox wb = WhiteBox.getWhiteBox(); wb.AddModuleExports(from, pkg, to); --- 29,42 ---- import sun.hotspot.WhiteBox; public class ModuleHelper { ! public static void DefineModule(Object module, boolean is_open, String version, ! String location, String[] pkgs) throws Throwable { WhiteBox wb = WhiteBox.getWhiteBox(); ! wb.DefineModule(module, is_open, version, location, pkgs); } public static void AddModuleExports(Object from, String pkg, Object to) throws Throwable { WhiteBox wb = WhiteBox.getWhiteBox(); wb.AddModuleExports(from, pkg, to);
< prev index next >