langtools/test/tools/javap/T7004698.java
changeset 40308 274367a99f98
parent 36526 3b41f1c69604
child 43258 45757c4367f2
--- a/langtools/test/tools/javap/T7004698.java	Wed Aug 10 13:52:02 2016 -0700
+++ b/langtools/test/tools/javap/T7004698.java	Wed Aug 10 15:47:46 2016 -0700
@@ -42,7 +42,7 @@
         File srcFile = new File(srcDir, T7004698.class.getSimpleName() + ".java");
         File classesDir = new File(".");
         compile("-Xjcov",
-                "-XaddExports:jdk.jdeps/com.sun.tools.javap=ALL-UNNAMED",
+                "--add-exports", "jdk.jdeps/com.sun.tools.javap=ALL-UNNAMED",
                 "-d", classesDir.getPath(),
                 srcFile.getPath());