aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-11-25 14:48:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-11-25 14:48:53 +0000
commitf9ff3414818de3804405ad2be0839c1b17ee7da4 (patch)
tree1299a4862e171d8bbda5ee59993ed387550b7a14
parentc87d15adb8246fde0e037047234cf2993acc89aa (diff)
parentab23a59c60530f608bf6abc9c92bca18ee7bb4e4 (diff)
downloadbuild-f9ff3414818de3804405ad2be0839c1b17ee7da4.tar.gz
Merge "Export all jdk.compiler packages for host tests"
-rw-r--r--core/java_host_unit_test_config_template.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java_host_unit_test_config_template.xml b/core/java_host_unit_test_config_template.xml
index 9a7e9720dd..5d8b254473 100644
--- a/core/java_host_unit_test_config_template.xml
+++ b/core/java_host_unit_test_config_template.xml
@@ -25,5 +25,12 @@
<option name="jar" value="{MODULE}.jar" />
<option name="java-flags" value="--add-modules=jdk.compiler"/>
<option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED"/>
</test>
</configuration>