ibmruntimes / Semeru-Runtimes

Issue repo for all things IBM Semeru Runtimes
12 stars 3 forks source link

Java 21 LTS #77

Open krismarc opened 2 weeks ago

krismarc commented 2 weeks ago

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 commented 1 week ago

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 https://github.com/adoptium/temurin-build/issues/3270