Skip to content

Commit 1ef4877

Browse files
gramianrobfrank
authored andcommitted
Update CLI Options removing --illegal-access=deny (#2799)
(cherry picked from commit 62efaed)
1 parent e08d721 commit 1ef4877

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

package/src/main/scripts/console.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [ -z "$JAVA_OPTS_SCRIPT" ] ; then
6060
-Dpolyglot.engine.WarnInterpreterOnly=false \
6161
-Djava.awt.headless=true \
6262
-Dfile.encoding=UTF8 \
63-
--illegal-access=deny"
63+
--enable-native-access=ALL-UNNAMED"
6464
fi
6565

6666
if [ $# -gt 0 ] ; then

package/src/main/scripts/server.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ if [ -z "$JAVA_OPTS_SCRIPT" ]; then
8080
--add-opens java.base/java.lang=ALL-UNNAMED \
8181
-Dpolyglot.engine.WarnInterpreterOnly=false \
8282
-Djava.awt.headless=true -Dfile.encoding=UTF8 \
83-
-Djava.util.logging.config.file=config/arcadedb-log.properties"
83+
-Djava.util.logging.config.file=config/arcadedb-log.properties \
84+
--enable-native-access=ALL-UNNAMED"
8485
fi
8586

8687
if [ -z "$ARCADEDB_JMX" ]; then

0 commit comments

Comments
 (0)