Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When auto-downloading boot JDK, default to hotspot (Don't use temurin in API) #2853

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

sxa
Copy link
Member

@sxa sxa commented Feb 15, 2022

I don't believe this will adversely affect anyone any more, so hard coding this in light of the changes made in #2818 so that the API call does not try to use temurin

Alternate solution would be to use a bash specific construct of ${VARIANT/temurin/hotspot}

(Causes JDK19 to fail to build as it won't be able to download a boot JDK and we don't install that one via the playbooks yet as it's not a GA level)

Signed-off-by: Stewart X Addison sxa@redhat.com

… in API)

Signed-off-by: Stewart X Addison <sxa@redhat.com>
@sxa sxa requested a review from karianna February 15, 2022 15:16
@github-actions github-actions bot added alpine-linux Issues that affect or relate to the Alpine LINUX OS macos Issues that affect or relate to the MAC OS windows Issues that affect or relate to the WINDOWS OS labels Feb 15, 2022
@sxa
Copy link
Member Author

sxa commented Feb 15, 2022

ping @AdamBrousseau I don't think this will negatively affect you (for production levels we should have them on the machine already, and the APIs won't download the latest Semeru anyway), but if you believe otherwise let me know.

Copy link
Contributor

@AdamBrousseau AdamBrousseau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine. I believe I use node variables for most/all bootjdks anyways. Once IBM API is available I will probably add a change here to support it for openj9 variant.

Copy link
Contributor

@karianna karianna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karianna
Copy link
Contributor

@sxa worth checking with Alibaba?

@sxa
Copy link
Member Author

sxa commented Feb 15, 2022

@sxa worth checking with Alibaba?

Dragonwell is not available through the Adopt API so this will not affect them, but it's needed for Temurin JDK19 builds to succeed.

@sxa sxa merged commit 4209c17 into adoptium:master Feb 15, 2022
@sxa
Copy link
Member Author

sxa commented Feb 15, 2022

NOTE: The Dragonwell boot JDK issue that lead to the previous two comments is referred to in #2353

SehrishHussain pushed a commit to SehrishHussain/temurin-build that referenced this pull request Mar 1, 2022
… in API) (adoptium#2853)

Signed-off-by: Stewart X Addison <sxa@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpine-linux Issues that affect or relate to the Alpine LINUX OS macos Issues that affect or relate to the MAC OS windows Issues that affect or relate to the WINDOWS OS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants