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

Add OpenJDK 23 support #728

Merged
merged 2 commits into from
Sep 26, 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
4 changes: 4 additions & 0 deletions buildpacks/jvm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Support for OpenJDK 23. ([#728](https://github.com/heroku/buildpacks-jvm/pull/728))

## [6.0.2] - 2024-09-25

- No changes.
Expand Down
16 changes: 16 additions & 0 deletions buildpacks/jvm/openjdk_inventory.toml
Original file line number Diff line number Diff line change
Expand Up @@ -589,3 +589,19 @@ arch = "arm64"
url = "https://heroku-buildpacks-jvm.s3.us-east-1.amazonaws.com/openjdk/zulu/arm64/22.0.2.tar.gz"
checksum = "sha256:3b782afb494715651bee99214b491be199bc013359df3869f529752c32e6a2ef"
metadata.distribution = "zulu"

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

[[artifacts]]
version = "23.0.0"
os = "linux"
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"
1 change: 0 additions & 1 deletion buildpacks/jvm/test-apps/java-22-app/system.properties

This file was deleted.

1 change: 1 addition & 0 deletions buildpacks/jvm/test-apps/java-23-app/system.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
java.runtime.version = 23
6 changes: 3 additions & 3 deletions buildpacks/jvm/tests/integration/versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ fn openjdk_21() {

#[test]
#[ignore = "integration test"]
fn openjdk_22() {
TestRunner::default().build(default_build_config("test-apps/java-22-app"), |context| {
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 \"22.0.2\""
"openjdk version \"23\""
);
});
}