--- old/langtools/test/tools/javac/T6403466.java 2016-08-08 16:38:41.000000000 -0700 +++ new/langtools/test/tools/javac/T6403466.java 2016-08-08 16:38:41.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -58,10 +58,10 @@ fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(testSrcDir, self + ".java"))); Iterable options = Arrays.asList( - "-XaddExports:" - + "jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED," + "--add-exports", + "jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED," + "jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED", - "-processorpath", testClassDir, + "--processor-path", testClassDir, "-processor", self, "-s", ".", "-d", ".");