Skip to content

Commit 011c1ea

Browse files
authored
Revert "Add arguments to server and console script to prevent warnings (ArcadeData#2698)" (ArcadeData#2699)
1 parent 428fe0d commit 011c1ea

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

package/src/main/scripts/console.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ if [ -z "$JAVA_OPTS_SCRIPT" ] ; then
5757
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED \
5858
--add-opens java.base/java.nio.channels.spi=ALL-UNNAMED \
5959
--add-opens java.base/java.lang=ALL-UNNAMED \
60-
--enable-native-access=ALL-UNNAMED \
6160
-Dpolyglot.engine.WarnInterpreterOnly=false \
6261
-Djava.awt.headless=true \
63-
-Dfile.encoding=UTF8"
62+
-Dfile.encoding=UTF8 \
63+
--illegal-access=deny"
6464
fi
6565

6666
if [ $# -gt 0 ] ; then

package/src/main/scripts/server.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ if [ -z "$JAVA_OPTS_SCRIPT" ]; then
7878
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED \
7979
--add-opens java.base/java.nio.channels.spi=ALL-UNNAMED \
8080
--add-opens java.base/java.lang=ALL-UNNAMED \
81-
--sun-misc-unsafe-memory-access=allow \
82-
--enable-native-access=ALL-UNNAMED \
8381
-Dpolyglot.engine.WarnInterpreterOnly=false \
8482
-Djava.awt.headless=true -Dfile.encoding=UTF8 \
8583
-Djava.util.logging.config.file=config/arcadedb-log.properties"

0 commit comments

Comments
 (0)