--- old/langtools/test/tools/javac/diags/examples/InvalidStaticInterface/InvalidStaticInterface.java 2016-08-08 16:39:14.000000000 -0700 +++ new/langtools/test/tools/javac/diags/examples/InvalidStaticInterface/InvalidStaticInterface.java 2016-08-08 16:39:13.000000000 -0700 @@ -25,7 +25,7 @@ // key: compiler.misc.bad.class.file.header // key: compiler.err.cant.access // options: -processor CreateBadClassFile -// run: exec -XaddExports:jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED +// run: exec --add-exports jdk.jdeps/com.sun.tools.classfile=ALL-UNNAMED /* The annotation processor will create an invalid classfile with version 51.0 * and a static method in an interface. Loading the classfile will produce