From 8badd1f2eb3398ef23a3f5a757100638663ef7b0 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 7 May 2025 12:13:40 +0200 Subject: [PATCH] :lipstick: Add cosmetic improvements to common scripts/repl Make it consistent with backend scripts/repl --- common/scripts/repl | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/common/scripts/repl b/common/scripts/repl index 1efe773de4..e736b2ad99 100755 --- a/common/scripts/repl +++ b/common/scripts/repl @@ -2,16 +2,20 @@ export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS" -export OPTIONS=" - -A:dev \ - -J-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager \ - -J-Djdk.attach.allowAttachSelf \ - -J-Dpolyglot.engine.WarnInterpreterOnly=false \ - -J-XX:+EnableDynamicAgentLoading \ - -J-XX:-OmitStackTraceInFastThrow \ - -J-XX:+UnlockDiagnosticVMOptions \ - -J-XX:+DebugNonSafepoints \ - -J-Djdk.tracePinnedThreads=full" +export JAVA_OPTS="\ + -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager \ + -Djdk.attach.allowAttachSelf \ + -Dlog4j2.configurationFile=log4j2-devenv-repl.xml \ + -Djdk.tracePinnedThreads=full \ + -XX:+EnableDynamicAgentLoading \ + -XX:-OmitStackTraceInFastThrow \ + -XX:+UnlockDiagnosticVMOptions \ + -XX:+DebugNonSafepoints \ + --sun-misc-unsafe-memory-access=allow \ + --enable-preview \ + --enable-native-access=ALL-UNNAMED"; + +export OPTIONS="-A:dev" export OPTIONS_EVAL="nil" # export OPTIONS_EVAL="(set! *warn-on-reflection* true)"