summaryrefslogtreecommitdiff
path: root/java/system_modules.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-03-15 02:35:04 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-03-15 02:35:04 +0000
commitf34748af55f40961eb676c121f72e6b9600d9e5d (patch)
treec61854518cc3fc2a271faef4892d85be3555a056 /java/system_modules.go
parentf1ffd090e75cc5983f90dfd805d5ef113f9a38b6 (diff)
parent7ef61d76f85af2a567594613673eb365ddcdb114 (diff)
Merge "Delete jmod workDir" into main
Diffstat (limited to 'java/system_modules.go')
-rw-r--r--java/system_modules.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/system_modules.go b/java/system_modules.go
index 92e31cdf9..8e2d5d8ff 100644
--- a/java/system_modules.go
+++ b/java/system_modules.go
@@ -64,6 +64,7 @@ var (
// useful on Android, and (b) it causes errors with later versions of jlink
// when the jdk.internal.module is absent from java.base (as it is here).
` --disable-plugin system-modules && ` +
+ `rm -rf ${workDir} && ` +
`cp ${config.JrtFsJar} ${outDir}/lib/`,
CommandDeps: []string{
"${moduleInfoJavaPath}",