Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package java-21-openj9 for openSUSE:Factory checked in at 2025-02-09 20:01:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-21-openj9 (Old) and /work/SRC/openSUSE:Factory/.java-21-openj9.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-21-openj9" Sun Feb 9 20:01:16 2025 rev:7 rq:1244235 version:21.0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/java-21-openj9/java-21-openj9.changes 2024-08-13 13:25:41.904384251 +0200 +++ /work/SRC/openSUSE:Factory/.java-21-openj9.new.2316/java-21-openj9.changes 2025-02-09 20:01:41.895051700 +0100 @@ -1,0 +2,14 @@ +Fri Feb 7 17:43:25 UTC 2025 - Fridrich Strba <fst...@suse.com> + +- Update to OpenJDK 21.0.6 with OpenJ9 0.49.0 virtual machine +- Including Oracle October 2024 and January 2025 CPU changes + * CVE-2024-21208 (bsc#1231702), CVE-2024-21210 (bsc#1231711), + CVE-2024-21217 (bsc#1231716), CVE-2024-21235 (bsc#1231719), + CVE-2025-21502 (bsc#1236278) + * OpenJ9 changes, see + https://www.eclipse.org/openj9/docs/version0.49/ +- Added patch: + * openssl-OSSL_LIB_CTX.patch + + allow building with openssl < 3 + +------------------------------------------------------------------- Old: ---- 1a6f6128aa2f639de1e33cae77a31f474ba6b1a9.zip 7d844187b25a8dbb9cf527a7aa7d5c5c29f1e33c.zip 840a9adba4548aa546e36c97a1150b7306a7e07b.zip New: ---- 3c3d179854a524d7f95225999169ee09fda46033.zip e01368f00df38581bf80f0aca8684d02dcdb477b.zip e49875871c2862e0d132e3695d55273bfbac08b6.zip openssl-OSSL_LIB_CTX.patch BETA DEBUG BEGIN: New:- Added patch: * openssl-OSSL_LIB_CTX.patch + allow building with openssl < 3 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-21-openj9.spec ++++++ --- /var/tmp/diff_new_pack.Yrnam7/_old 2025-02-09 20:01:43.719126697 +0100 +++ /var/tmp/diff_new_pack.Yrnam7/_new 2025-02-09 20:01:43.719126697 +0100 @@ -1,7 +1,7 @@ # # spec file for package java-21-openj9 # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,18 +31,18 @@ # Standard JPackage naming and versioning defines. %global featurever 21 %global interimver 0 -%global updatever 4 +%global updatever 6 %global buildver 7 %global root_repository https://github.com/ibmruntimes/openj9-openjdk-jdk21/archive -%global root_revision 7d844187b25a8dbb9cf527a7aa7d5c5c29f1e33c -%global root_branch v0.46.0-release +%global root_revision e01368f00df38581bf80f0aca8684d02dcdb477b +%global root_branch v0.49.0-release %global omr_repository https://github.com/eclipse/openj9-omr/archive -%global omr_revision 840a9adba4548aa546e36c97a1150b7306a7e07b -%global omr_branch v0.46.0-release +%global omr_revision e49875871c2862e0d132e3695d55273bfbac08b6 +%global omr_branch v0.49.0-release %global openj9_repository https://github.com/eclipse/openj9/archive -%global openj9_revision 1a6f6128aa2f639de1e33cae77a31f474ba6b1a9 -%global openj9_branch v0.46.0-release -%global openj9_tag openj9-0.46.0 +%global openj9_revision 3c3d179854a524d7f95225999169ee09fda46033 +%global openj9_branch v0.49.0-release +%global openj9_tag openj9-0.49.0 # priority must be 6 digits in total %if 0%{?suse_version} > 1500 || 0%{?java_bootstrap} %global priority 3101 @@ -111,6 +111,7 @@ # Allow multiple initialization of PKCS11 libraries Patch5: multiple-pkcs11-library-init.patch # Fix build with older openssl +Patch6: openssl-OSSL_LIB_CTX.patch Patch7: openj9-openssl.patch # Fix: implicit-pointer-decl Patch13: implicit-pointer-decl.patch @@ -366,6 +367,7 @@ %patch -P 3 -p1 %patch -P 4 -p1 %patch -P 5 -p1 +%patch -P 6 -p1 %patch -P 7 -p1 %patch -P 13 -p1 @@ -422,6 +424,7 @@ --disable-warnings-as-errors-omr \ --disable-warnings-as-errors-openj9 \ --disable-keep-packaged-modules \ + --enable-jfr \ --with-debug-level=%{debugbuild} \ --with-conf-name=%{debugbuild} \ --with-libjpeg=system \ @@ -751,6 +754,7 @@ %dir %{_jvmdir}/%{sdkdir}/lib/desktop %dir %{_jvmdir}/%{sdkdir}/lib/security %dir %{_jvmdir}/%{sdkdir}/lib/j9vm +%dir %{_jvmdir}/%{sdkdir}/lib/jfr %dir %{_jvmdir}/%{sdkdir}/conf %dir %{_jvmdir}/%{sdkdir}/conf/security %dir %{_jvmdir}/%{sdkdir}/conf/security/policy @@ -763,6 +767,7 @@ %{_jvmdir}/%{sdkdir}/release %{_jvmdir}/%{sdkdir}/bin/java +%{_jvmdir}/%{sdkdir}/bin/jfr %{_jvmdir}/%{sdkdir}/bin/jitserver %{_jvmdir}/%{sdkdir}/bin/keytool %{_jvmdir}/%{sdkdir}/bin/rmiregistry @@ -814,6 +819,8 @@ %{_jvmdir}/%{sdkdir}/lib/desktop/jconsole.desktop %{_jvmdir}/%{sdkdir}/lib/java*.properties %{_jvmdir}/%{sdkdir}/lib/jexec +%{_jvmdir}/%{sdkdir}/lib/jfr/default.jfc +%{_jvmdir}/%{sdkdir}/lib/jfr/profile.jfc %{_jvmdir}/%{sdkdir}/lib/jrt-fs.jar %{_jvmdir}/%{sdkdir}/lib/jspawnhelper %{_jvmdir}/%{sdkdir}/lib/jvm.cfg @@ -851,6 +858,7 @@ %{_jvmdir}/%{sdkdir}/lib/libsyslookup.so %{_jvmdir}/%{sdkdir}/lib/libverify.so %{_jvmdir}/%{sdkdir}/lib/libzip.so +%{_jvmdir}/%{sdkdir}/lib/metadata.blob %{_jvmdir}/%{sdkdir}/lib/modules #%{_jvmdir}/%{sdkdir}/lib/openj9-notices.html %{_jvmdir}/%{sdkdir}/lib/options.default @@ -865,6 +873,7 @@ %{_jvmdir}/%{sdkdir}/lib/security/public_suffix_list.dat %{_mandir}/man1/java-%{sdklnk}.1%{?ext_man} +%{_mandir}/man1/jfr-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/keytool-%{sdklnk}.1%{?ext_man} %{_mandir}/man1/rmiregistry-%{sdklnk}.1%{?ext_man} ++++++ 1a6f6128aa2f639de1e33cae77a31f474ba6b1a9.zip -> 3c3d179854a524d7f95225999169ee09fda46033.zip ++++++ /work/SRC/openSUSE:Factory/java-21-openj9/1a6f6128aa2f639de1e33cae77a31f474ba6b1a9.zip /work/SRC/openSUSE:Factory/.java-21-openj9.new.2316/3c3d179854a524d7f95225999169ee09fda46033.zip differ: char 11, line 2 ++++++ 1a6f6128aa2f639de1e33cae77a31f474ba6b1a9.zip -> e01368f00df38581bf80f0aca8684d02dcdb477b.zip ++++++ /work/SRC/openSUSE:Factory/java-21-openj9/1a6f6128aa2f639de1e33cae77a31f474ba6b1a9.zip /work/SRC/openSUSE:Factory/.java-21-openj9.new.2316/e01368f00df38581bf80f0aca8684d02dcdb477b.zip differ: char 11, line 2 ++++++ 1a6f6128aa2f639de1e33cae77a31f474ba6b1a9.zip -> e49875871c2862e0d132e3695d55273bfbac08b6.zip ++++++ /work/SRC/openSUSE:Factory/java-21-openj9/1a6f6128aa2f639de1e33cae77a31f474ba6b1a9.zip /work/SRC/openSUSE:Factory/.java-21-openj9.new.2316/e49875871c2862e0d132e3695d55273bfbac08b6.zip differ: char 11, line 2 ++++++ openssl-OSSL_LIB_CTX.patch ++++++ diff --git a/closed/src/java.base/share/native/libjncrypto/NativeCrypto.c b/closed/src/java.base/share/native/libjncrypto/NativeCrypto.c index 2e53d0a8e1e..1226f96f1f8 100644 --- a/closed/src/java.base/share/native/libjncrypto/NativeCrypto.c +++ b/closed/src/java.base/share/native/libjncrypto/NativeCrypto.c @@ -64,6 +64,10 @@ # include <pthread.h> #endif /* defined(WINDOWS) */ +#if OPENSSL_VERSION_MAJOR < 3 +typedef struct ossl_lib_ctx_st OSSL_LIB_CTX; +#endif + /* Header for RSA algorithm using 1.0.2 OpenSSL. */ int OSSL102_RSA_set0_key(RSA *, BIGNUM *, BIGNUM *, BIGNUM *); int OSSL102_RSA_set0_factors(RSA *, BIGNUM *, BIGNUM *);