sous-chefs / java

Development repository for the java cookbook
https://supermarket.chef.io/cookbooks/java
Apache License 2.0
387 stars 636 forks source link

AdoptOpenJDK is now Adoptium Temurin and IBM Semeru #674

Closed hrak closed 1 year ago

hrak commented 2 years ago

:speaking_head: Foreword

Apparently since July 2021 AdoptOpenJDK hotspot is now known as Adoptium Temurin and AdoptOpenJDK OpenJ9 is now IBM Semeru.

:ghost: Brief Description

New binaries do not appear to be posted on https://github.com/AdoptOpenJDK/openjdk11-binaries/releases anymore. This cookbook now installs a outdated (and potentially vulnerable) version of AdoptOpenJDK.

New releases of hotspot can be found on https://adoptium.net/temurin/releases New releases of OpenJ9 can be found on https://developer.ibm.com/languages/java/semeru-runtimes/downloads/

:pancakes: Cookbook version

11.0.2

Steps To Reproduce

Steps to reproduce the behavior:

  1. use adoptopenjdk_install resource to install java
  2. get outdated JDK version from https://github.com/AdoptOpenJDK/openjdk<version>-binaries/releases
damacus commented 2 years ago

Thanks for pointing this one out @hrak!

Do you think you're able to fix this one or do you want me to go update the URLs?

mwiczynski-cartera commented 1 year ago

I think this change has a typo in it? it just broke our chef runs... https://github.com/sous-chefs/java/blame/00570a6f0c07020186fae2aeedd2c49eb82d1e13/resources/openjdk_source_install.rb#L10 Should that be openjdk, not opendjdk?