diff --git a/buildpacks/jvm/CHANGELOG.md b/buildpacks/jvm/CHANGELOG.md index e13c16bb..11c7b440 100644 --- a/buildpacks/jvm/CHANGELOG.md +++ b/buildpacks/jvm/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + +* Default version for **OpenJDK 8** is now `1.8.0_392`. ([#000](https://github.com/heroku/buildpacks-jvm/pull/000)) +* Default version for **OpenJDK 11** is now `11.0.21`. ([#000](https://github.com/heroku/buildpacks-jvm/pull/000)) +* Default version for **OpenJDK 17** is now `17.0.9`. ([#000](https://github.com/heroku/buildpacks-jvm/pull/000)) +* Default version for **OpenJDK 21** is now `21.0.1`. ([#000](https://github.com/heroku/buildpacks-jvm/pull/000)) + ## [3.2.0] - 2023-09-20 ### Added diff --git a/buildpacks/jvm/src/version.rs b/buildpacks/jvm/src/version.rs index 28c5c7b3..414262eb 100644 --- a/buildpacks/jvm/src/version.rs +++ b/buildpacks/jvm/src/version.rs @@ -16,20 +16,20 @@ pub(crate) fn normalize_version_string>( let version_string = match user_version_string { "7" | "1.7" => "1.7.0_352", - "8" | "1.8" => "1.8.0_382", + "8" | "1.8" => "1.8.0_392", "9" | "1.9" => "9.0.4", "10" => "10.0.2", - "11" => "11.0.20.1", + "11" => "11.0.21", "12" => "12.0.2", "13" => "13.0.14", "14" => "14.0.2", "15" => "15.0.10", "16" => "16.0.2", - "17" => "17.0.8.1", + "17" => "17.0.9", "18" => "18.0.2.1", "19" => "19.0.2", "20" => "20.0.2", - "21" => "21.0.0", + "21" => "21.0.1", other => other, }; diff --git a/buildpacks/jvm/tests/integration/versions.rs b/buildpacks/jvm/tests/integration/versions.rs index 5d9a6173..65a51b2a 100644 --- a/buildpacks/jvm/tests/integration/versions.rs +++ b/buildpacks/jvm/tests/integration/versions.rs @@ -8,7 +8,7 @@ fn test_openjdk_8_distribution_heroku_20() { |context| { assert_contains!( context.run_shell_command("java -version").stderr, - "openjdk version \"1.8.0_382-heroku\"" + "openjdk version \"1.8.0_392-heroku\"" ); }, ) @@ -22,7 +22,7 @@ fn test_openjdk_8_distribution_heroku_22() { |context| { assert_contains!( context.run_shell_command("java -version").stderr, - "openjdk version \"1.8.0_382\"" + "openjdk version \"1.8.0_392\"" ); }, )