--- old/jdk/test/tools/pack200/Utils.java 2016-08-08 16:37:01.000000000 -0700 +++ new/jdk/test/tools/pack200/Utils.java 2016-08-08 16:37:00.000000000 -0700 @@ -111,7 +111,7 @@ compiler("-d", XCLASSES.getName(), - "-XaddExports:jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED", + "--add-exports=jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED", "@" + tmpFile.getAbsolutePath()); jar("cvfe", @@ -148,7 +148,7 @@ init(); List cmds = new ArrayList(); cmds.add(getJavaCmd()); - cmds.add("-XaddExports:jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED"); + 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");