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

Java 21 LTS #77

Open
krismarc opened this issue May 6, 2024 · 1 comment
Open

Java 21 LTS #77

krismarc opened this issue May 6, 2024 · 1 comment

Comments

@krismarc
Copy link

krismarc commented May 6, 2024

Hey,

any reason why Java 21 can't be found as LTS using the API?

lts=false responses with 2 records with additional attribute named "optional": "LTS"
that's not a case for other LTS java versions 8,11,17

and if you make lts=true, then it responses with 404..

https://api.adoptopenjdk.net/v3/info/release_versions?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=openj9&lts=false&os=linux&page=0&page_size=20&project=jdk&release_type=ga&semver=false&sort_method=DEFAULT&sort_order=DESC&vendor=ibm&version=%2821.0%2C22.0%29

https://api.adoptopenjdk.net/v3/info/release_versions?architecture=x64&heap_size=normal&image_type=jdk&jvm_impl=openj9&lts=true&os=linux&page=0&page_size=20&project=jdk&release_type=ga&semver=false&sort_method=DEFAULT&sort_order=DESC&vendor=ibm&version=%2821.0%2C22.0%29

Best regards,
K.M.

@AdamBrousseau
Copy link
Contributor

Might need @johnoliver to help understand.
I know as of jdk21 we added a --with-version-opt=LTS which sounds related. But it also looks like the API has some hardcoded config of which major versions were/are LTS.
Related adoptium/temurin-build#3270

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

No branches or pull requests

2 participants