--- old/langtools/test/tools/javac/processing/loader/testClose/TestClose.java 2016-08-08 16:40:45.000000000 -0700 +++ new/langtools/test/tools/javac/processing/loader/testClose/TestClose.java 2016-08-08 16:40:44.000000000 -0700 @@ -132,8 +132,8 @@ new MemFile("AnnoProc.java", annoProc), new MemFile("Callback.java", callback)); List options = Arrays.asList( - "-XaddExports:jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED", - "-XaddExports:jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED", + "--add-exports", "jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED", + "--add-exports", "jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED", "-XDaccessInternalAPI"); JavacTask task = tool.getTask(null, fm, null, options, null, files); check(task.call());