--- old/langtools/test/tools/javap/T7004698.java 2016-08-07 17:48:06.000000000 -0700 +++ new/langtools/test/tools/javap/T7004698.java 2016-08-07 17:48:06.000000000 -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());