File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 285
285
286
286
# If this is a Java 9 JDK, add some JDK 9 workarounds to the JVM_ARGS
287
287
if [ -f " ${JPMS_MODULE_FILE_LOCATION} " ]; then
288
- JVM_ARGS=" --add-opens java.base/java.lang=ALL-UNNAMED --add-exports java.base/sun.security.action=ALL-UNNAMED ${JVM_ARGS} "
288
+ JVM_ARGS=" --add-opens java.base/java.lang=ALL-UNNAMED ${JVM_ARGS} "
289
289
fi
290
290
291
291
# Prevent the Java invocation appearing as an application on a mac
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ if NOT defined JAVA_HOME (
54
54
)
55
55
56
56
@ REM If this is a Java 9 JDK, add some JDK 9 workarounds to the JVM_ARGS
57
- if exist " %JAVA_HOME% \lib\modules" set JVM_ARGS = --add-opens java.base/java.lang=ALL-UNNAMED --add-exports java.base/sun.security.action=ALL-UNNAMED !JVM_ARGS!
57
+ if exist " %JAVA_HOME% \lib\modules" set JVM_ARGS = --add-opens java.base/java.lang=ALL-UNNAMED !JVM_ARGS!
58
58
59
59
set JVM_ARGS = -Djava.awt.headless=true !JVM_ARGS!
60
60
set TOOL_JAVA_CMD_QUOTED = !JAVA_CMD_QUOTED! !JVM_ARGS! -jar " !WLP_INSTALL_DIR! \bin\@TOOL_JAR@"
You can’t perform that action at this time.
0 commit comments