< prev index next >

jdk/test/tools/pack200/Utils.java

Print this page

        

*** 109,119 **** close(fos); } compiler("-d", XCLASSES.getName(), ! "-XaddExports:jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED", "@" + tmpFile.getAbsolutePath()); jar("cvfe", VerifierJar.getName(), "sun.tools.pack.verify.Main", --- 109,119 ---- close(fos); } compiler("-d", XCLASSES.getName(), ! "--add-exports=jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED", "@" + tmpFile.getAbsolutePath()); jar("cvfe", VerifierJar.getName(), "sun.tools.pack.verify.Main",
*** 146,156 **** } static void doCompareVerify(File reference, File specimen) throws IOException { init(); List<String> cmds = new ArrayList<String>(); cmds.add(getJavaCmd()); ! cmds.add("-XaddExports:jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED"); cmds.add("-cp"); cmds.add(VerifierJar.getName()); cmds.add("sun.tools.pack.verify.Main"); cmds.add(reference.getAbsolutePath()); cmds.add(specimen.getAbsolutePath()); --- 146,156 ---- } static void doCompareVerify(File reference, File specimen) throws IOException { init(); List<String> cmds = new ArrayList<String>(); cmds.add(getJavaCmd()); ! cmds.add("--add-exports=jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED"); cmds.add("-cp"); cmds.add(VerifierJar.getName()); cmds.add("sun.tools.pack.verify.Main"); cmds.add(reference.getAbsolutePath()); cmds.add(specimen.getAbsolutePath());
< prev index next >