diff --git a/Config.in.legacy b/Config.in.legacy index 24d0dc1d51..40011a1890 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -146,6 +146,22 @@ endif comment "Legacy options removed in 2021.11" +config BR2_OPENJDK_VERSION_LTS + bool "OpenJDK LTS version was renamed to OpenJDK 11" + select BR2_LEGACY + select BR2_PACKAGE_OPENJDK_VERSION_11 + help + The LTS version option was renamed to OpenJDK 11 to make it + clear what LTS version is. + +config BR2_OPENJDK_VERSION_LATEST + bool "OpenJDK latest version (16.x) was removed" + select BR2_LEGACY + select BR2_PACKAGE_OPENJDK_VERSION_17 + help + OpenJDK 16.x is no longer mainted, so the option has been + removed. Use OpenJDK 17.x instead. + config BR2_PACKAGE_MROUTED_RSRR bool "RSRR for RSVP removed in mrouted v4.4" select BR2_LEGACY diff --git a/package/openjdk-bin/openjdk-bin.hash b/package/openjdk-bin/openjdk-bin.hash index de17aa71fc..bbc939d4e8 100644 --- a/package/openjdk-bin/openjdk-bin.hash +++ b/package/openjdk-bin/openjdk-bin.hash @@ -1,5 +1,5 @@ -# From https://github.com/AdoptOpenJDK/openjdk16-binaries/releases -sha256 323d6d7474a359a28eff7ddd0df8e65bd61554a8ed12ef42fd9365349e573c2c OpenJDK16U-jdk_x64_linux_hotspot_16.0.2_7.tar.gz +# https://github.com/adoptium/temurin17-binaries/releases +sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz # From https://github.com/adoptium/temurin11-binaries/releases sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz diff --git a/package/openjdk-bin/openjdk-bin.mk b/package/openjdk-bin/openjdk-bin.mk index 01d3a3b88f..266c93d363 100644 --- a/package/openjdk-bin/openjdk-bin.mk +++ b/package/openjdk-bin/openjdk-bin.mk @@ -4,9 +4,9 @@ # ################################################################################ -ifeq ($(BR2_OPENJDK_VERSION_LATEST),y) -HOST_OPENJDK_BIN_VERSION_MAJOR = 16 -HOST_OPENJDK_BIN_VERSION_MINOR = 0.2_7 +ifeq ($(BR2_PACKAGE_OPENJDK_VERSION_17),y) +HOST_OPENJDK_BIN_VERSION_MAJOR = 17 +HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 else HOST_OPENJDK_BIN_VERSION_MAJOR = 11 HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 diff --git a/package/openjdk/Config.in b/package/openjdk/Config.in index a0d04e5725..2aad1dcea3 100644 --- a/package/openjdk/Config.in +++ b/package/openjdk/Config.in @@ -20,7 +20,7 @@ config BR2_PACKAGE_OPENJDK depends on !BR2_STATIC_LIBS # glibc depends on BR2_INSTALL_LIBSTDCPP # cups depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, cups, libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb, C++14 for OpenJDK16 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb, C++14 for OpenJDK17 depends on BR2_TOOLCHAIN_USES_GLIBC depends on BR2_USE_MMU # cups depends on BR2_PACKAGE_XORG7 @@ -51,18 +51,18 @@ if BR2_PACKAGE_OPENJDK choice prompt "openjdk version" - default BR2_OPENJDK_VERSION_LATEST + default BR2_PACKAGE_OPENJDK_VERSION_17 help Select the version of OpenJDK you wish to use. -config BR2_OPENJDK_VERSION_LTS - bool "LTS (OpenJDK 11)" +config BR2_PACKAGE_OPENJDK_VERSION_11 + bool "OpenJDK 11" -config BR2_OPENJDK_VERSION_LATEST - bool "latest (OpenJDK 16)" +config BR2_PACKAGE_OPENJDK_VERSION_17 + bool "OpenJDK 17" depends on BR2_HOST_GCC_AT_LEAST_4_9 # C++14 -comment "OpenJDK 16 needs a host gcc >= 4.9" +comment "OpenJDK 17 needs a host gcc >= 4.9" depends on !BR2_HOST_GCC_AT_LEAST_4_9 # C++14 endchoice diff --git a/package/openjdk/openjdk.hash b/package/openjdk/openjdk.hash index 8788d02be0..2f46b044ad 100644 --- a/package/openjdk/openjdk.hash +++ b/package/openjdk/openjdk.hash @@ -1,4 +1,4 @@ # Locally computed -sha256 b4a0e71e41a11175e8a7c1dba86ed5b0aa878413158c8d48813db1b64ac9536c openjdk-16.0.2+7.tar.gz +sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz sha256 119c6233fe7ff5670c590e2f9d6686ac4d80c97b17065506998b75c547b54f2c openjdk-11.0.13+8.tar.gz sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk index 27809ba282..5fccdaa7ac 100644 --- a/package/openjdk/openjdk.mk +++ b/package/openjdk/openjdk.mk @@ -4,9 +4,9 @@ # ################################################################################ -ifeq ($(BR2_OPENJDK_VERSION_LATEST),y) -OPENJDK_VERSION_MAJOR = 16 -OPENJDK_VERSION_MINOR = 0.2+7 +ifeq ($(BR2_PACKAGE_OPENJDK_VERSION_17),y) +OPENJDK_VERSION_MAJOR = 17 +OPENJDK_VERSION_MINOR = 0.1+12 else OPENJDK_VERSION_MAJOR = 11 OPENJDK_VERSION_MINOR = 0.13+8