< prev index next >

test/tools/javac/file/T7018098.java

Print this page

        

*** 58,83 **** File file = new File(testSrc, myName + ".java"); _assert(!testDir.exists()); compile( ! "-XaddExports:jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED", ! "-XaddExports:jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED", ! "-XaddExports:jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED", "-XDaccessInternalAPI", "-proc:only", "-processor", myName, "-Aexpect=false", file.getPath()); testDir.mkdirs(); _assert(testDir.exists()); compile( ! "-XaddExports:jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED", ! "-XaddExports:jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED", ! "-XaddExports:jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED", "-XDaccessInternalAPI", "-proc:only", "-processor", myName, "-Aexpect=true", file.getPath()); --- 58,83 ---- File file = new File(testSrc, myName + ".java"); _assert(!testDir.exists()); compile( ! "--add-exports", "jdk.compiler/com.sun.tools.javac.file=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", "-proc:only", "-processor", myName, "-Aexpect=false", file.getPath()); testDir.mkdirs(); _assert(testDir.exists()); compile( ! "--add-exports", "jdk.compiler/com.sun.tools.javac.file=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", "-proc:only", "-processor", myName, "-Aexpect=true", file.getPath());
< prev index next >