This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 8d4ed643fe Add native access to the scripts
8d4ed643fe is described below
commit 8d4ed643fe3cae1ba031b72b2f51bc0d0ccb16d6
Author: remm <[email protected]>
AuthorDate: Fri Mar 22 13:33:27 2024 +0100
Add native access to the scripts
---
bin/catalina.bat | 1 +
bin/catalina.sh | 1 +
2 files changed, 2 insertions(+)
diff --git a/bin/catalina.bat b/bin/catalina.bat
index e2e1c4ac8d..78a7eb9d9f 100755
--- a/bin/catalina.bat
+++ b/bin/catalina.bat
@@ -219,6 +219,7 @@ set "JAVA_OPTS=%JAVA_OPTS%
--add-opens=java.base/java.io=ALL-UNNAMED"
set "JAVA_OPTS=%JAVA_OPTS% --add-opens=java.base/java.util=ALL-UNNAMED"
set "JAVA_OPTS=%JAVA_OPTS%
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED"
set "JAVA_OPTS=%JAVA_OPTS% --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"
+set "JAVA_OPTS=%JAVA_OPTS% --enable-native-access=ALL-UNNAMED"
rem ----- Execute The Requested Command ---------------------------------------
diff --git a/bin/catalina.sh b/bin/catalina.sh
index 33649fac27..ee679ad0c6 100755
--- a/bin/catalina.sh
+++ b/bin/catalina.sh
@@ -292,6 +292,7 @@ JAVA_OPTS="$JAVA_OPTS
--add-opens=java.base/java.io=ALL-UNNAMED"
JAVA_OPTS="$JAVA_OPTS --add-opens=java.base/java.util=ALL-UNNAMED"
JAVA_OPTS="$JAVA_OPTS --add-opens=java.base/java.util.concurrent=ALL-UNNAMED"
JAVA_OPTS="$JAVA_OPTS --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"
+JAVA_OPTS="$JAVA_OPTS --enable-native-access=ALL-UNNAMED"
# ----- Execute The Requested Command -----------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]