From ec504b233817c785251470a976499775871b11e3 Mon Sep 17 00:00:00 2001 From: Geoff Bourne <988985+itzg@users.noreply.github.com> Date: Fri, 16 Oct 2026 12:16:39 -0500 Subject: [PATCH] Helper enables native access for Netty by default (#4340) --- Dockerfile | 2 +- scripts/start-configuration | 5 ----- scripts/start-finalExec | 1 - 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index bbd750db..a39cd0c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \ --from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz # renovate: datasource=github-releases packageName=itzg/mc-image-helper versioning=loose -ARG MC_HELPER_VERSION=1.73.1 +ARG MC_HELPER_VERSION=1.74.0 ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION} # used for cache busting local copy of mc-image-helper ARG MC_HELPER_REV=1 diff --git a/scripts/start-configuration b/scripts/start-configuration index d7aef2ee..d04dfb97 100755 --- a/scripts/start-configuration +++ b/scripts/start-configuration @@ -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 diff --git a/scripts/start-finalExec b/scripts/start-finalExec index d4ad46c6..2402e8bf 100755 --- a/scripts/start-finalExec +++ b/scripts/start-finalExec @@ -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"