diff --git a/.vscode/launch.json b/.vscode/launch.json index 85a5f2b760..e8d707de77 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -48,6 +48,7 @@ "-Declipse.pde.launch=true", "-XstartOnFirstThread", "-Dfile.encoding=UTF-8", + "--enable-native-access=ALL-UNNAMED", "--add-modules=ALL-DEFAULT", "--add-opens=java.base/java.io=ALL-UNNAMED", "--add-opens=java.base/java.lang=ALL-UNNAMED", @@ -64,7 +65,6 @@ "--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED", "--add-opens=java.base/sun.nio.ch=ALL-UNNAMED", "--add-opens=java.base/sun.security.ssl=ALL-UNNAMED", - "--add-opens=java.base/sun.security.action=ALL-UNNAMED", "--add-opens=java.base/sun.security.util=ALL-UNNAMED", "--add-opens=java.security.jgss/sun.security.jgss=ALL-UNNAMED", "--add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED", diff --git a/deploy/scripts/run-cloudbeaver-server.bat b/deploy/scripts/run-cloudbeaver-server.bat index 8714c04a1b..1cbb98f6d1 100644 --- a/deploy/scripts/run-cloudbeaver-server.bat +++ b/deploy/scripts/run-cloudbeaver-server.bat @@ -17,6 +17,7 @@ If Not Defined JAVA_OPTS ( java %JAVA_OPTS% ^ -Dfile.encoding=UTF-8 ^ + --enable-native-access=ALL-UNNAMED ^ --add-modules=ALL-DEFAULT ^ --add-opens=java.base/java.io=ALL-UNNAMED ^ --add-opens=java.base/java.lang=ALL-UNNAMED ^ @@ -33,7 +34,6 @@ java %JAVA_OPTS% ^ --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED ^ --add-opens=java.base/sun.nio.ch=ALL-UNNAMED ^ --add-opens=java.base/sun.security.ssl=ALL-UNNAMED ^ - --add-opens=java.base/sun.security.action=ALL-UNNAMED ^ --add-opens=java.base/sun.security.util=ALL-UNNAMED ^ --add-opens=java.security.jgss/sun.security.jgss=ALL-UNNAMED ^ --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED ^ diff --git a/deploy/scripts/run-cloudbeaver-server.sh b/deploy/scripts/run-cloudbeaver-server.sh index 918b84498e..4c2c206403 100755 --- a/deploy/scripts/run-cloudbeaver-server.sh +++ b/deploy/scripts/run-cloudbeaver-server.sh @@ -11,6 +11,7 @@ echo "Starting Cloudbeaver Server" exec java ${JAVA_OPTS} \ -Dfile.encoding=UTF-8 \ + --enable-native-access=ALL-UNNAMED \ --add-modules=ALL-DEFAULT \ --add-opens=java.base/java.io=ALL-UNNAMED \ --add-opens=java.base/java.lang=ALL-UNNAMED \ @@ -27,7 +28,6 @@ exec java ${JAVA_OPTS} \ --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED \ --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \ --add-opens=java.base/sun.security.ssl=ALL-UNNAMED \ - --add-opens=java.base/sun.security.action=ALL-UNNAMED \ --add-opens=java.base/sun.security.util=ALL-UNNAMED \ --add-opens=java.security.jgss/sun.security.jgss=ALL-UNNAMED \ --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED \ diff --git a/server/product/web-server-test/CloudbeaverServerUnitTest.product b/server/product/web-server-test/CloudbeaverServerUnitTest.product index 38bf14affb..c120e20710 100644 --- a/server/product/web-server-test/CloudbeaverServerUnitTest.product +++ b/server/product/web-server-test/CloudbeaverServerUnitTest.product @@ -11,7 +11,8 @@ -web-config conf/cloudbeaver.conf -registryMultiLanguage - -Dfile.encoding=UTF-8 + -Dfile.encoding=UTF-8 + --enable-native-access=ALL-UNNAMED --add-modules=ALL-DEFAULT --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED @@ -28,7 +29,6 @@ --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED - --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.jgss=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED diff --git a/server/product/web-server/CloudbeaverServer.product b/server/product/web-server/CloudbeaverServer.product index c0e32baab4..fa2e6a6e4d 100644 --- a/server/product/web-server/CloudbeaverServer.product +++ b/server/product/web-server/CloudbeaverServer.product @@ -12,6 +12,7 @@ -Dfile.encoding=UTF-8 + --enable-native-access=ALL-UNNAMED --add-modules=ALL-DEFAULT --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED @@ -28,7 +29,6 @@ --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED - --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.jgss=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED