< prev index next >

jdk/test/tools/lib/tests/Helper.java

Print this page

        

*** 162,172 **** .distinct() .collect(Collectors.toList()); Path srcMod = src.resolve(moduleName); JImageGenerator.generateModuleInfo(srcMod, packages, dependencies); Path destination = classes.resolve(moduleName); ! if (!JImageGenerator.compile(srcMod, destination, "-modulepath", modulePath, "-g")) { throw new AssertionError("Compilation failure"); } return destination; } --- 162,172 ---- .distinct() .collect(Collectors.toList()); Path srcMod = src.resolve(moduleName); JImageGenerator.generateModuleInfo(srcMod, packages, dependencies); Path destination = classes.resolve(moduleName); ! if (!JImageGenerator.compile(srcMod, destination, "--module-path", modulePath, "-g")) { throw new AssertionError("Compilation failure"); } return destination; }
< prev index next >