Skip to content

Commit

Permalink
Add OpenJDK 23 support (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Malax authored Sep 26, 2024
1 parent 96f3e49 commit ac304fb
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
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\""
);
});
}

0 comments on commit ac304fb

Please sign in to comment.