Helper enables native access for Netty by default (#4340)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2026-10-16 12:16:39 -05:00
1 parent 0ff20db743
commit ec504b2338
3 files changed
+1 -7

No files matched your search

-5
View File
@@ -36,11 +36,6 @@ if isTrue "$PREFER_IPV6"; then
export JVM_DD_OPTS
fi
if (( $(getJavaRelease) >= 17 )); then
MC_IMAGE_HELPER_OPTS+=" --enable-native-access=ALL-UNNAMED"
export MC_IMAGE_HELPER_OPTS
fi
if [[ $(getDistro) == alpine ]]; then
export LD_PRELOAD=/lib/libgcompat.so.0
fi
-1
View File
@@ -398,7 +398,6 @@ if isTrue "${USE_MEOWICE_GRAALVM_FLAGS}"; then
-Djdk.graal.TuneInlinerExploration=1
-Djdk.graal.LoopRotation=true
-Djdk.graal.CompilerConfiguration=enterprise
--enable-native-access=ALL-UNNAMED
"
else
log "Using MeowIce's flags for Graalvm"