aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-11-24 10:08:20 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-11-24 10:08:20 +0000
commit62fc685b0928b5bbf6b7790a2c1928508cd186b4 (patch)
tree4f3495f5f818576194482847d4c8d61f0f7929b9
parent3d18e442a2117af1b713ec3d2969ed9cbdf8bfbb (diff)
parent5046eeede2fb725f36522fe7899342a7ddf9cda9 (diff)
downloadbuild-62fc685b0928b5bbf6b7790a2c1928508cd186b4.tar.gz
Merge "Merge "Fix Java flags in TF template to work with JDK 17+" am: c87d15adb8" into main-16k
-rw-r--r--core/java_host_unit_test_config_template.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java_host_unit_test_config_template.xml b/core/java_host_unit_test_config_template.xml
index 1516ab2904..9a7e9720dd 100644
--- a/core/java_host_unit_test_config_template.xml
+++ b/core/java_host_unit_test_config_template.xml
@@ -24,6 +24,6 @@
<test class="com.android.tradefed.testtype.IsolatedHostTest" >
<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"/>
+ <option name="java-flags" value="--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"/>
</test>
</configuration>