Skip to content

Conversation

@jmtd
Copy link
Member

@jmtd jmtd commented Jun 3, 2025

The runtime images do not honour JAVA_ARGS, as it is being handled by s2i/run instead of run-java.sh for some reason. Move the handling into run-java.sh so it is shared with the runtime images.

(Originally an adaptation of WIP work from #492 to ubi9.)

https://issues.redhat.com/browse/OPENJDK-2968

jmtd added 3 commits January 5, 2026 10:21
Passes for current builders, fails for current runtimes.

https://issues.redhat.com/browse/OPENJDK-2968

Signed-off-by: Jonathan Dowland <[email protected]>
This was used in the RHEL7 images but not since.

Signed-off-by: Jonathan Dowland <[email protected]>
Don't touch $JAVA_ARGS in s2i/run, leave that responsibility
to run-java.sh.

<https://issues.redhat.com/browse/OPENJDK-2968>

Signed-off-by: Jonathan Dowland <[email protected]>
@jmtd jmtd force-pushed the OPENJDK-2968-JAVA_ARGS_runtime-ubi9 branch from f2449f2 to 24f6317 Compare January 5, 2026 10:38
@jmtd jmtd changed the title WIP [OPENJDK-2968] Runtime images don't properly support JAVA_ARGS [OPENJDK-2968] Runtime images don't properly support JAVA_ARGS Jan 5, 2026
@jmtd jmtd marked this pull request as ready for review January 5, 2026 10:44
@jmtd jmtd requested a review from jerboaa January 5, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ubi9 RHEL UBI 9

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant