Skip to content

Conversation

@Malax
Copy link
Member

@Malax Malax commented Oct 29, 2025

This improves the OpenJDK installation function that uses the jvm-common buildpack to address issues with function overrides and environment variable handling.

The jvm-common buildpack's installation script was overriding library functions and global variables in the host buildpack, causing unexpected behavior. The installation now runs in a sub-shell to isolate these changes. Environment variables set during installation are properly restored by sourcing the export script after the installation completes.

GUS-W-20071746

@Malax Malax force-pushed the malax/openjdk-install-fixes branch from 77dae8d to a5d24f8 Compare October 29, 2025 14:55
@Malax Malax marked this pull request as ready for review October 29, 2025 15:33
@Malax Malax requested a review from a team as a code owner October 29, 2025 15:33
@Malax Malax enabled auto-merge (squash) October 29, 2025 15:36
@Malax Malax merged commit d9ba617 into main Oct 29, 2025
6 checks passed
@Malax Malax deleted the malax/openjdk-install-fixes branch October 29, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants