halcyon / asdf-java

A Java plugin for asdf-vm.
MIT License
455 stars 86 forks source link

Amazon Corretto JDK is not available in data tsv #98

Closed thuandt closed 4 years ago

thuandt commented 4 years ago

Amazon Corretto JDK is available in https://joschi.github.io/java-metadata/metadata/all.json and https://joschi.github.io/java-metadata/metadata/ga.json, but it's not including in ga/${os}/${arch}/jdk.json

cc @joschi and @halcyon

joschi commented 4 years ago

@thuandt Thanks for reporting this!

It was a bug in the upstream project (https://github.com/joschi/java-metadata/) which assigned the wrong image type (JDK or JRE) to the Corretto distributions in some cases. I've fixed that bug and with the next update of the local metadata files this will be fixed for asdf-java, too.

On a side note, Amazon Corretto is one of the few Java distributions which doesn't offer machine readable data of their releases which can be reasonably parsed. Feel free to amplify this tweet so that they might change it: https://twitter.com/joschi83/status/1276489559220662272

joschi commented 4 years ago

Good timing, here it is: 670cedc82f2bc3e90f389bfba315a0deec416354