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

Bump OpenJDK versions #747

Merged
merged 4 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions buildpacks/jvm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Support for new OpenJDK versions: `1.8.0_432`, `11.0.25`, `17.0.13`, `21.0.5`, `23.0.1`. ([#747](https://github.com/heroku/buildpacks-jvm/pull/747))

### Changed

- Default version for **OpenJDK 8** is now `1.8.0_432`. ([#747](https://github.com/heroku/buildpacks-jvm/pull/747))
- Default version for **OpenJDK 11** is now `11.0.25`. ([#747](https://github.com/heroku/buildpacks-jvm/pull/747))
- Default version for **OpenJDK 17** is now `17.0.13`. ([#747](https://github.com/heroku/buildpacks-jvm/pull/747))
- Default version for **OpenJDK 21** is now `21.0.5`. ([#747](https://github.com/heroku/buildpacks-jvm/pull/747))
- Default version for **OpenJDK 23** is now `23.0.1`. ([#747](https://github.com/heroku/buildpacks-jvm/pull/747))

## [6.0.3] - 2024-09-26

### Added
Expand Down
80 changes: 80 additions & 0 deletions buildpacks/jvm/openjdk_inventory.toml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,22 @@ url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm
checksum = "sha256:12f51e35f6a5ca89daa75dd4aa1088dbc8be813314132184dc02ba118a6ee9b8"
metadata.distribution = "zulu"

[[artifacts]]
version = "1.8.0_432"
os = "linux"
arch = "amd64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/amd64/1.8.0_432.tar.gz"
checksum = "sha256:6822dea639da72040b86ee471b63d75b5908282f9bbb55aa8725ad07dc035867"
metadata.distribution = "zulu"

[[artifacts]]
version = "1.8.0_432"
os = "linux"
arch = "arm64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm64/1.8.0_432.tar.gz"
checksum = "sha256:6748c34a90342cf06842f0b75bdc5e30833c5eb6b89cf162fe3b13478adb6210"
metadata.distribution = "zulu"

[[artifacts]]
version = "11.0.10"
os = "linux"
Expand Down Expand Up @@ -358,6 +374,22 @@ url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm
checksum = "sha256:44cd16ada84abf9d26a0df460f2800a5d374b6f15468e563d1edde3016cb6c7d"
metadata.distribution = "zulu"

[[artifacts]]
version = "11.0.25"
os = "linux"
arch = "arm64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm64/11.0.25.tar.gz"
checksum = "sha256:1b5dc48f62b7852747aeb0357197138ff984e9df253fe2164700c7ccb1934833"
metadata.distribution = "zulu"

[[artifacts]]
version = "11.0.25"
os = "linux"
arch = "amd64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/amd64/11.0.25.tar.gz"
checksum = "sha256:78b781736be19dcf12e93ca2e7f3520e70a58cc860d22fac0846e122d874be51"
metadata.distribution = "zulu"

[[artifacts]]
version = "17.0.0"
os = "linux"
Expand Down Expand Up @@ -494,6 +526,22 @@ url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/amd
checksum = "sha256:86e5bb1d034d3ba81faead309bf2edc7fc462488b5bed3f9f3ec0a936fedfb6a"
metadata.distribution = "zulu"

[[artifacts]]
version = "17.0.13"
os = "linux"
arch = "amd64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/amd64/17.0.13.tar.gz"
checksum = "sha256:4f79b4c63d08feeea37bf20e289d3b949978635919ffbe000fe6acda88c07f15"
metadata.distribution = "zulu"

[[artifacts]]
version = "17.0.13"
os = "linux"
arch = "arm64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm64/17.0.13.tar.gz"
checksum = "sha256:836598f5cd091d348bd4c4d79e4776382443a315c170451bdcff0028d73d5c22"
metadata.distribution = "zulu"

[[artifacts]]
version = "21.0.0"
os = "linux"
Expand Down Expand Up @@ -550,6 +598,22 @@ url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm
checksum = "sha256:3d553e79e0732f7925e495a232842a8cf3f304d12948558b5496bf5e8ce6b852"
metadata.distribution = "zulu"

[[artifacts]]
version = "21.0.5"
os = "linux"
arch = "amd64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/amd64/21.0.5.tar.gz"
checksum = "sha256:5dbc4a09c73fbc05902f494395397ed645fd6ac0fd79fa3e942a743ae532d5da"
metadata.distribution = "zulu"

[[artifacts]]
version = "21.0.5"
os = "linux"
arch = "arm64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm64/21.0.5.tar.gz"
checksum = "sha256:4e79d0c754eaac40c1d9f4a36e946f69459e46f3ea11ef537ee13d378d6bfde9"
metadata.distribution = "zulu"

[[artifacts]]
version = "22.0.0"
os = "linux"
Expand Down Expand Up @@ -605,3 +669,19 @@ arch = "arm64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm64/23.0.0.tar.gz"
checksum = "sha256:20c01b010e437231a431be55843226ef4b3d4d40bf80056002b1a34ed8f774cf"
metadata.distribution = "zulu"

[[artifacts]]
version = "23.0.1"
os = "linux"
arch = "amd64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/amd64/23.0.1.tar.gz"
checksum = "sha256:c7f46909d11314aaeb994e7b5d573c791879c4fbd65f1b85b89b273f9ad7e5b5"
metadata.distribution = "zulu"

[[artifacts]]
version = "23.0.1"
os = "linux"
arch = "arm64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm64/23.0.1.tar.gz"
checksum = "sha256:537e291277769425c49457407910a823d81794bbafb5df0b08b09d6550b68516"
metadata.distribution = "zulu"
14 changes: 7 additions & 7 deletions buildpacks/jvm/tests/integration/versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn openjdk_default() {

assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"21.0.4\""
"openjdk version \"21.0.5\""
);
},
);
Expand All @@ -60,7 +60,7 @@ fn openjdk_functions_default() {

assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"1.8.0_422\""
"openjdk version \"1.8.0_432\""
);
},
);
Expand All @@ -72,7 +72,7 @@ fn openjdk_8() {
TestRunner::default().build(default_build_config("test-apps/java-8-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"1.8.0_422\""
"openjdk version \"1.8.0_432\""
);
});
}
Expand All @@ -83,7 +83,7 @@ fn openjdk_11() {
TestRunner::default().build(default_build_config("test-apps/java-11-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"11.0.24\""
"openjdk version \"11.0.25\""
);
});
}
Expand All @@ -94,7 +94,7 @@ fn openjdk_17() {
TestRunner::default().build(default_build_config("test-apps/java-17-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"17.0.12\""
"openjdk version \"17.0.13\""
);
});
}
Expand All @@ -105,7 +105,7 @@ fn openjdk_21() {
TestRunner::default().build(default_build_config("test-apps/java-21-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"21.0.4\""
"openjdk version \"21.0.5\""
);
});
}
Expand All @@ -116,7 +116,7 @@ fn openjdk_23() {
TestRunner::default().build(default_build_config("test-apps/java-23-app"), |context| {
assert_contains!(
context.run_shell_command("java -version").stderr,
"openjdk version \"23\""
"openjdk version \"23.0.1\""
);
});
}