From 5c69d8ea2ede974765f3d0815258a88fbf9dcce5 Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Tue, 15 Jun 2021 18:24:42 -0700 Subject: [PATCH] Stop passing --illegal-access= to tests since it's going away in 17 PiperOrigin-RevId: 379619714 --- pom.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 523806946..fca4cc766 100644 --- a/pom.xml +++ b/pom.xml @@ -260,7 +260,19 @@ 2.18 - -Xmx1024m --illegal-access=permit + + -Xmx1024m + --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED + --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED + --add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED + --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED +