From 609807750fa6ade278615d577524712ef597ef4d Mon Sep 17 00:00:00 2001 From: Petra Mikova Date: Mon, 22 May 2023 14:28:12 +0200 Subject: [PATCH 01/12] Fix macros to apply also to epel, lower buildjdkver --- java-latest-openjdk-portable.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index a1153c8..998e3b8 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -338,7 +338,7 @@ # buildjdkver is usually same as %%{featurever}, # but in time of bootstrap of next jdk, it is featurever-1, # and this it is better to change it here, on single place -%global buildjdkver %{featurever} +%global buildjdkver 19 # We don't add any LTS designator for STS packages (Fedora and EPEL). # We need to explicitly exclude EPEL as it would have the %%{rhel} macro defined. %if 0%{?rhel} && !0%{?epel} @@ -391,7 +391,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 9 -%global rpmrelease 3 +%global rpmrelease 4 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -456,10 +456,10 @@ %define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.sources.;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") %define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.static-libs.;g" | sed "s;openjdkportable;el;g") %else -%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;fc\\([0-9]\\)*;\\0.portable%{1}.jre;g" | sed "s;openjdkportable;el;g") -%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;fc\\([0-9]\\)*;\\0.portable%{1}.jdk;g" | sed "s;openjdkportable;el;g") -%define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;fc\\([0-9]\\)*;\\0.portable%{1}.sources;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") -%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;fc\\([0-9]\\)*;\\0.portable%{1}.static-libs;g" | sed "s;openjdkportable;el;g") +%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el\\([0-9]\\)*;\\0.portable%{1}.jre;g" | sed "s;openjdkportable;el;g") +%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el\\([0-9]\\)*;\\0.portable%{1}.jdk;g" | sed "s;openjdkportable;el;g") +%define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;el\\([0-9]\\)*;\\0.portable%{1}.sources;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") +%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el\\([0-9]\\)*;\\0.portable%{1}.static-libs;g" | sed "s;openjdkportable;el;g") %endif %define jreportablearchive() %{expand:%{jreportablenameimpl -- %%{1}}.tar.xz} %define jdkportablearchive() %{expand:%{jdkportablenameimpl -- %%{1}}.tar.xz} @@ -1626,6 +1626,10 @@ done %license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} %changelog +* Thu May 18 2023 Petra Alice Mikova - 1:20.0.1.0.9-4.rolling +- fix jdkportablename, jreportablename macro to apply also to epel +- lower buildversion of jdk to 19 + * Mon May 15 2023 Jiri Vanek - 1:20.0.1.0.9-3.rolling - no longer using system cacerts during build - they are already mv-ed as .upstream in rpms From 030257700b910a4757bbe8d220c14828967f2f52 Mon Sep 17 00:00:00 2001 From: Jiri Date: Wed, 14 Jun 2023 21:59:48 +0200 Subject: [PATCH 02/12] Redeclared ForFiles release sections as %%nil no longer works with %%1 RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} so we have to pass in "" but evaluate it, otherwise files record will include it --- java-latest-openjdk-portable.spec | 51 +++++++++++++++++++------------ 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index a1153c8..5139467 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -391,7 +391,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 9 -%global rpmrelease 3 +%global rpmrelease 4 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -472,6 +472,14 @@ # top of the JDK archive %define staticlibsportablename() %{expand:%{jdkportablenameimpl -- %%{1}}} +# RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} +# so we have to pass in "" but evaluate it, otherwise files record will include it +%define jreportablearchiveForFiles() %(echo %{jreportablearchive -- ""}) +%define jdkportablearchiveForFiles() %(echo %{jdkportablearchive -- ""}) +%define jdkportablesourcesarchiveForFiles() %(echo %{jdkportablesourcesarchive -- ""}) +%define staticlibsportablearchiveForFiles() %(echo %{staticlibsportablearchive -- ""}) +%define jdkportablesourcesnameForFiles() %(echo %{jdkportablesourcesname -- ""}) + ################################################################# # fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349 # https://bugzilla.redhat.com/show_bug.cgi?id=1590796#c14 @@ -1556,9 +1564,9 @@ done %if %{include_normal_build} %files # main package builds always -%{_jvmdir}/%{jreportablearchive -- %%{nil}} -%{_jvmdir}/%{jreportablearchive -- %%{nil}}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%{_jvmdir}/%{jreportablearchiveForFiles} +%{_jvmdir}/%{jreportablearchiveForFiles}.sha256sum +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %else %files # placeholder @@ -1566,19 +1574,19 @@ done %if %{include_normal_build} %files devel -%{_jvmdir}/%{jdkportablearchive -- %%{nil}} +%{_jvmdir}/%{jdkportablearchiveForFiles} #%{_jvmdir}/%{jdkportablearchive -- .debuginfo} -%{_jvmdir}/%{jdkportablearchive -- %%{nil}}.sha256sum +%{_jvmdir}/%{jdkportablearchiveForFiles}.sha256sum #%{_jvmdir}/%{jdkportablearchive -- .debuginfo}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %endif %if %{include_normal_build} %if %{include_staticlibs} %files static-libs -%{_jvmdir}/%{staticlibsportablearchive -- %%{nil}} -%{_jvmdir}/%{staticlibsportablearchive -- %%{nil}}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%{_jvmdir}/%{staticlibsportablearchiveForFiles} +%{_jvmdir}/%{staticlibsportablearchiveForFiles}.sha256sum +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %endif %endif @@ -1586,18 +1594,18 @@ done %files slowdebug %{_jvmdir}/%{jreportablearchive -- .slowdebug} %{_jvmdir}/%{jreportablearchive -- .slowdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %files devel-slowdebug %{_jvmdir}/%{jdkportablearchive -- .slowdebug} %{_jvmdir}/%{jdkportablearchive -- .slowdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %if %{include_staticlibs} %files static-libs-slowdebug %{_jvmdir}/%{staticlibsportablearchive -- .slowdebug} %{_jvmdir}/%{staticlibsportablearchive -- .slowdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %endif %endif @@ -1605,27 +1613,32 @@ done %files fastdebug %{_jvmdir}/%{jreportablearchive -- .fastdebug} %{_jvmdir}/%{jreportablearchive -- .fastdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %files devel-fastdebug %{_jvmdir}/%{jdkportablearchive -- .fastdebug} %{_jvmdir}/%{jdkportablearchive -- .fastdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %if %{include_staticlibs} %files static-libs-fastdebug %{_jvmdir}/%{staticlibsportablearchive -- .fastdebug} %{_jvmdir}/%{staticlibsportablearchive -- .fastdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %endif %endif %files sources -%{_jvmdir}/%{jdkportablesourcesarchive -- %%{nil}} -%{_jvmdir}/%{jdkportablesourcesarchive -- %%{nil}}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%{_jvmdir}/%{jdkportablesourcesarchiveForFiles} +%{_jvmdir}/%{jdkportablesourcesarchiveForFiles}.sha256sum +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %changelog +* Mon May 15 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling +- Redeclared ForFiles release sections as %%nil no longer works with %%1 +- RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} +- so we have to pass in "" but evaluate it, otherwise files record will include it + * Mon May 15 2023 Jiri Vanek - 1:20.0.1.0.9-3.rolling - no longer using system cacerts during build - they are already mv-ed as .upstream in rpms From 13e6aabfbd8341abcb7a335c79b3c5570f73d83c Mon Sep 17 00:00:00 2001 From: Jiri Date: Wed, 14 Jun 2023 21:59:48 +0200 Subject: [PATCH 03/12] Redeclared ForFiles release sections as %%nil no longer works with %%1 RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} so we have to pass in "" but evaluate it, otherwise files record will include it --- java-latest-openjdk-portable.spec | 51 +++++++++++++++++++------------ 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index 998e3b8..211ec00 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -338,7 +338,7 @@ # buildjdkver is usually same as %%{featurever}, # but in time of bootstrap of next jdk, it is featurever-1, # and this it is better to change it here, on single place -%global buildjdkver 19 +%global buildjdkver 20 # We don't add any LTS designator for STS packages (Fedora and EPEL). # We need to explicitly exclude EPEL as it would have the %%{rhel} macro defined. %if 0%{?rhel} && !0%{?epel} @@ -472,6 +472,14 @@ # top of the JDK archive %define staticlibsportablename() %{expand:%{jdkportablenameimpl -- %%{1}}} +# RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} +# so we have to pass in "" but evaluate it, otherwise files record will include it +%define jreportablearchiveForFiles() %(echo %{jreportablearchive -- ""}) +%define jdkportablearchiveForFiles() %(echo %{jdkportablearchive -- ""}) +%define jdkportablesourcesarchiveForFiles() %(echo %{jdkportablesourcesarchive -- ""}) +%define staticlibsportablearchiveForFiles() %(echo %{staticlibsportablearchive -- ""}) +%define jdkportablesourcesnameForFiles() %(echo %{jdkportablesourcesname -- ""}) + ################################################################# # fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349 # https://bugzilla.redhat.com/show_bug.cgi?id=1590796#c14 @@ -1556,9 +1564,9 @@ done %if %{include_normal_build} %files # main package builds always -%{_jvmdir}/%{jreportablearchive -- %%{nil}} -%{_jvmdir}/%{jreportablearchive -- %%{nil}}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%{_jvmdir}/%{jreportablearchiveForFiles} +%{_jvmdir}/%{jreportablearchiveForFiles}.sha256sum +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %else %files # placeholder @@ -1566,19 +1574,19 @@ done %if %{include_normal_build} %files devel -%{_jvmdir}/%{jdkportablearchive -- %%{nil}} +%{_jvmdir}/%{jdkportablearchiveForFiles} #%{_jvmdir}/%{jdkportablearchive -- .debuginfo} -%{_jvmdir}/%{jdkportablearchive -- %%{nil}}.sha256sum +%{_jvmdir}/%{jdkportablearchiveForFiles}.sha256sum #%{_jvmdir}/%{jdkportablearchive -- .debuginfo}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %endif %if %{include_normal_build} %if %{include_staticlibs} %files static-libs -%{_jvmdir}/%{staticlibsportablearchive -- %%{nil}} -%{_jvmdir}/%{staticlibsportablearchive -- %%{nil}}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%{_jvmdir}/%{staticlibsportablearchiveForFiles} +%{_jvmdir}/%{staticlibsportablearchiveForFiles}.sha256sum +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %endif %endif @@ -1586,18 +1594,18 @@ done %files slowdebug %{_jvmdir}/%{jreportablearchive -- .slowdebug} %{_jvmdir}/%{jreportablearchive -- .slowdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %files devel-slowdebug %{_jvmdir}/%{jdkportablearchive -- .slowdebug} %{_jvmdir}/%{jdkportablearchive -- .slowdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %if %{include_staticlibs} %files static-libs-slowdebug %{_jvmdir}/%{staticlibsportablearchive -- .slowdebug} %{_jvmdir}/%{staticlibsportablearchive -- .slowdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %endif %endif @@ -1605,27 +1613,32 @@ done %files fastdebug %{_jvmdir}/%{jreportablearchive -- .fastdebug} %{_jvmdir}/%{jreportablearchive -- .fastdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %files devel-fastdebug %{_jvmdir}/%{jdkportablearchive -- .fastdebug} %{_jvmdir}/%{jdkportablearchive -- .fastdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %if %{include_staticlibs} %files static-libs-fastdebug %{_jvmdir}/%{staticlibsportablearchive -- .fastdebug} %{_jvmdir}/%{staticlibsportablearchive -- .fastdebug}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %endif %endif %files sources -%{_jvmdir}/%{jdkportablesourcesarchive -- %%{nil}} -%{_jvmdir}/%{jdkportablesourcesarchive -- %%{nil}}.sha256sum -%license %{unpacked_licenses}/%{jdkportablesourcesarchive -- %%{nil}} +%{_jvmdir}/%{jdkportablesourcesarchiveForFiles} +%{_jvmdir}/%{jdkportablesourcesarchiveForFiles}.sha256sum +%license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %changelog +* Fri Jun 16 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling +- Redeclared ForFiles release sections as %%nil no longer works with %%1 +- RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} +- so we have to pass in "" but evaluate it, otherwise files record will include it + * Thu May 18 2023 Petra Alice Mikova - 1:20.0.1.0.9-4.rolling - fix jdkportablename, jreportablename macro to apply also to epel - lower buildversion of jdk to 19 From 963d225681251e41c29565d9b88adafe173a8f1b Mon Sep 17 00:00:00 2001 From: Petra Mikova Date: Tue, 20 Jun 2023 10:37:29 +0200 Subject: [PATCH 04/12] Bump rpmrelease --- java-latest-openjdk-portable.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index 211ec00..ad83ae0 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -391,7 +391,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 9 -%global rpmrelease 4 +%global rpmrelease 5 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -1634,7 +1634,7 @@ done %license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %changelog -* Fri Jun 16 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling +* Fri Jun 16 2023 Jiri Vanek - 1:20.0.1.0.9-5.rolling - Redeclared ForFiles release sections as %%nil no longer works with %%1 - RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} - so we have to pass in "" but evaluate it, otherwise files record will include it From 3cc86460bc71caa08e6acd81bf11337bb7d85df1 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 27 Jun 2023 11:30:56 +0000 Subject: [PATCH 05/12] Simplify portable archive name macros Avoid using fragile regex and instead match on "%{version}-%{release}" to do the substitutions. This should make it both simpler (avoiding separate rhel7 conditional) and more robust in case the build system sets a different dist tag than what the regex expected. --- java-latest-openjdk-portable.spec | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index 5139467..7cd4c1e 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -391,7 +391,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 9 -%global rpmrelease 4 +%global rpmrelease 5 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -450,17 +450,10 @@ %define uniquesuffix() %{expand:%{fullversion}.%{_arch}%{?1}} # portable only declarations %global jreimage jre -%if (0%{?rhel} > 0 && 0%{?rhel} < 8) -%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.jre.;g" | sed "s;openjdkportable;el;g") -%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.jdk.;g" | sed "s;openjdkportable;el;g") -%define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.sources.;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") -%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.static-libs.;g" | sed "s;openjdkportable;el;g") -%else -%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;fc\\([0-9]\\)*;\\0.portable%{1}.jre;g" | sed "s;openjdkportable;el;g") -%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;fc\\([0-9]\\)*;\\0.portable%{1}.jdk;g" | sed "s;openjdkportable;el;g") -%define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;fc\\([0-9]\\)*;\\0.portable%{1}.sources;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") -%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;fc\\([0-9]\\)*;\\0.portable%{1}.static-libs;g" | sed "s;openjdkportable;el;g") -%endif +%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;%{version}-%{release};\\0.portable%{1}.jre;g" | sed "s;openjdkportable;el;g") +%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;%{version}-%{release};\\0.portable%{1}.jdk;g" | sed "s;openjdkportable;el;g") +%define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;%{version}-%{release};\\0.portable%{1}.sources;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") +%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;%{version}-%{release};\\0.portable%{1}.static-libs;g" | sed "s;openjdkportable;el;g") %define jreportablearchive() %{expand:%{jreportablenameimpl -- %%{1}}.tar.xz} %define jdkportablearchive() %{expand:%{jdkportablenameimpl -- %%{1}}.tar.xz} %define jdkportablesourcesarchive() %{expand:%{jdkportablesourcesnameimpl -- %%{1}}.tar.xz} @@ -1634,6 +1627,9 @@ done %license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %changelog +* Tue Jun 27 2023 Kalev Lember - 1:20.0.1.0.9-5.rolling +- Simplify portable archive name macros + * Mon May 15 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling - Redeclared ForFiles release sections as %%nil no longer works with %%1 - RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} From b6d5401e2bbba91931414ade98c5c4bba98969d2 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 27 Jun 2023 11:30:56 +0000 Subject: [PATCH 06/12] Simplify portable archive name macros Avoid using fragile regex and instead match on "%{version}-%{release}" to do the substitutions. This should make it both simpler (avoiding separate rhel7 conditional) and more robust in case the build system sets a different dist tag than what the regex expected. --- java-latest-openjdk-portable.spec | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index ad83ae0..7dae404 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -338,7 +338,7 @@ # buildjdkver is usually same as %%{featurever}, # but in time of bootstrap of next jdk, it is featurever-1, # and this it is better to change it here, on single place -%global buildjdkver 20 +%global buildjdkver %{featurever} # We don't add any LTS designator for STS packages (Fedora and EPEL). # We need to explicitly exclude EPEL as it would have the %%{rhel} macro defined. %if 0%{?rhel} && !0%{?epel} @@ -391,7 +391,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 9 -%global rpmrelease 5 +%global rpmrelease 6 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -450,17 +450,10 @@ %define uniquesuffix() %{expand:%{fullversion}.%{_arch}%{?1}} # portable only declarations %global jreimage jre -%if (0%{?rhel} > 0 && 0%{?rhel} < 8) -%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.jre.;g" | sed "s;openjdkportable;el;g") -%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.jdk.;g" | sed "s;openjdkportable;el;g") -%define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.sources.;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") -%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el7\\(_[0-9]\\)*;portable%{1}.static-libs.;g" | sed "s;openjdkportable;el;g") -%else -%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el\\([0-9]\\)*;\\0.portable%{1}.jre;g" | sed "s;openjdkportable;el;g") -%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el\\([0-9]\\)*;\\0.portable%{1}.jdk;g" | sed "s;openjdkportable;el;g") -%define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;el\\([0-9]\\)*;\\0.portable%{1}.sources;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") -%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;el\\([0-9]\\)*;\\0.portable%{1}.static-libs;g" | sed "s;openjdkportable;el;g") -%endif +%define jreportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;%{version}-%{release};\\0.portable%{1}.jre;g" | sed "s;openjdkportable;el;g") +%define jdkportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;%{version}-%{release};\\0.portable%{1}.jdk;g" | sed "s;openjdkportable;el;g") +%define jdkportablesourcesnameimpl() %(echo %{uniquesuffix ""} | sed "s;%{version}-%{release};\\0.portable%{1}.sources;g" | sed "s;openjdkportable;el;g" | sed "s;.%{_arch};.noarch;g") +%define staticlibsportablenameimpl() %(echo %{uniquesuffix ""} | sed "s;%{version}-%{release};\\0.portable%{1}.static-libs;g" | sed "s;openjdkportable;el;g") %define jreportablearchive() %{expand:%{jreportablenameimpl -- %%{1}}.tar.xz} %define jdkportablearchive() %{expand:%{jdkportablenameimpl -- %%{1}}.tar.xz} %define jdkportablesourcesarchive() %{expand:%{jdkportablesourcesnameimpl -- %%{1}}.tar.xz} @@ -1634,7 +1627,10 @@ done %license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %changelog -* Fri Jun 16 2023 Jiri Vanek - 1:20.0.1.0.9-5.rolling +* Tue Jun 27 2023 Kalev Lember - 1:20.0.1.0.9-6.rolling +- Simplify portable archive name macros + +* Mon May 15 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling - Redeclared ForFiles release sections as %%nil no longer works with %%1 - RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} - so we have to pass in "" but evaluate it, otherwise files record will include it From bcfcadb4971a0bd31e304f5d44bf04b6850f009e Mon Sep 17 00:00:00 2001 From: Jiri Date: Fri, 30 Jun 2023 10:28:09 +0200 Subject: [PATCH 07/12] Bad changelog --- java-latest-openjdk-portable.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index 7dae404..017bd0e 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -1630,12 +1630,12 @@ done * Tue Jun 27 2023 Kalev Lember - 1:20.0.1.0.9-6.rolling - Simplify portable archive name macros -* Mon May 15 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling +* Mon May 18 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling - Redeclared ForFiles release sections as %%nil no longer works with %%1 - RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} - so we have to pass in "" but evaluate it, otherwise files record will include it -* Thu May 18 2023 Petra Alice Mikova - 1:20.0.1.0.9-4.rolling +* Thu May 15 2023 Petra Alice Mikova - 1:20.0.1.0.9-4.rolling - fix jdkportablename, jreportablename macro to apply also to epel - lower buildversion of jdk to 19 From e4c558138fe1688c6de1c4185f76cf381d280f5f Mon Sep 17 00:00:00 2001 From: Jiri Date: Fri, 30 Jun 2023 15:30:20 +0200 Subject: [PATCH 08/12] Fixing date in changelog --- java-latest-openjdk-portable.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index 017bd0e..1d89496 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -1630,12 +1630,12 @@ done * Tue Jun 27 2023 Kalev Lember - 1:20.0.1.0.9-6.rolling - Simplify portable archive name macros -* Mon May 18 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling +* Thu May 18 2023 Jiri Vanek - 1:20.0.1.0.9-4.rolling - Redeclared ForFiles release sections as %%nil no longer works with %%1 - RPM 4.19 no longer accept our double percentaged %%{nil} passed to %%{1} - so we have to pass in "" but evaluate it, otherwise files record will include it -* Thu May 15 2023 Petra Alice Mikova - 1:20.0.1.0.9-4.rolling +* Mon May 15 2023 Petra Alice Mikova - 1:20.0.1.0.9-4.rolling - fix jdkportablename, jreportablename macro to apply also to epel - lower buildversion of jdk to 19 From ca9d901084a4565bb7fe3326ed7f9d517af41c6a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 07:54:02 +0000 Subject: [PATCH 09/12] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- java-latest-openjdk-portable.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index 7cd4c1e..8364bc6 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -561,7 +561,7 @@ Version: %{newjavaver}.%{buildver} # This package needs `.rolling` as part of Release so as to not conflict on install with # java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as # java-X-openjdk. See: https://bugzilla.redhat.com/show_bug.cgi?id=1647298 -Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling%{?dist} +Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling%{?dist}.1 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -1627,6 +1627,9 @@ done %license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 1:20.0.1.0.9-5.rolling.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue Jun 27 2023 Kalev Lember - 1:20.0.1.0.9-5.rolling - Simplify portable archive name macros From d4939813c159ef71142a9c2ef8b1fed01e4915b7 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Thu, 3 Aug 2023 18:24:31 +0200 Subject: [PATCH 10/12] Updated to 20.0.2 --- .gitignore | 1 + NEWS | 38 +++++++++++++++++++++++++++++++ java-latest-openjdk-portable.spec | 8 +++++-- sources | 2 +- 4 files changed, 46 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 882a87e..8540e85 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ /openjdk-jdk19u-jdk-19.0.2+7.tar.xz /openjdk-jdk20u-jdk-20+36.tar.xz /openjdk-jdk20u-jdk-20.0.1+9.tar.xz +/openjdk-jdk20u-jdk-20.0.2+9.tar.xz diff --git a/NEWS b/NEWS index 3eb277e..9e7234f 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,44 @@ Key: JDK-X - https://bugs.openjdk.java.net/browse/JDK-X CVE-XXXX-YYYY: https://cve.mitre.org/cgi-bin/cvename.cgi?name=XXXX-YYYY +New in release OpenJDK 20.0.2 (2023-07-18): +=========================================== +* CVEs + - CVE-2023-22041 + - CVE-2023-22051 + - CVE-2023-25193 + - CVE-2023-22044 + - CVE-2023-22045 + - CVE-2023-22049 + - CVE-2023-22036 + - CVE-2023-22006 +* Other changes + - JDK-8208077: File.listRoots performance degradation + - JDK-8304741 C2 Intrinsification of Float.floatToFloat16 and Float.float16ToFloat Yields Different Result than the Interpreter + - JDK-8306763 GHA: MSVC installation is failing + - JDK-8304075 Consider removal of expiry check in VerifyCACerts.java test + - JDK-8304077 The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id + - JDK-8304227 Corrupted heap dumps due to missing retries for os::write() + - JDK-8304424 Update HarfBuzz to 7.0.1 + - JDK-8304887 javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError + - JDK-8305123 javac regression: Compilation with --release 8 fails on underscore in enum identifiers + - JDK-8305537 Use default visibility for static library builds + - JDK-8305540 ArrayFill with store on backedge needs to reduce length by 1 + - JDK-8305541 C2: Div/Mod nodes without zero check could be split through iv phi of loop resulting in SIGFPE + - JDK-8305542 C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors + - JDK-8305546 C2: Arraycopy intrinsic throws incorrect exception + - JDK-8305548 use-after-free related to GraphKit::clone_map + - JDK-8305549 SIGSEGV in LibraryCallKit::inline_string_copy due to constant NULL src argument + - JDK-8305550 C2: CmpU::Value must filter overflow computation against local sub computation + - JDK-8305551 C2 compiled code crashes with SIGFPE with -XX:+StressLCM and -XX:+StressGCM + - JDK-8305554 C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument + - JDK-8305555 C2: assert(get_ctrl(n) == cle_out) during unrolling + - JDK-8305557 Vector.lane() gets wrong value on x86 + +The full list of changes in 20u can be found at: +- * https://builds.shipilev.net/backports-monitor/release-notes-20.0.2.txt +- * https://builds.shipilev.net/backports-monitor/pushes-20.0.2.txt + New in release OpenJDK 20.0.1 (2023-04-18): =========================================== diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index 8364bc6..e69d40b 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -333,7 +333,7 @@ # New Version-String scheme-style defines %global featurever 20 %global interimver 0 -%global updatever 1 +%global updatever 2 %global patchver 0 # buildjdkver is usually same as %%{featurever}, # but in time of bootstrap of next jdk, it is featurever-1, @@ -391,7 +391,7 @@ %global top_level_dir_name %{origin} %global top_level_dir_name_backup %{top_level_dir_name}-backup %global buildver 9 -%global rpmrelease 5 +%global rpmrelease 1 # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -1627,6 +1627,10 @@ done %license %{unpacked_licenses}/%{jdkportablesourcesarchiveForFiles} %changelog +* Thu Aug 03 2023 Jiri Vanek - 1:20.0.2.0.9-1.rolling +- Update to jdk-20.0.2+9 +- Update release notes to 20.0.2+9 + * Thu Jul 20 2023 Fedora Release Engineering - 1:20.0.1.0.9-5.rolling.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index d90c787..c44230f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (openjdk-jdk20u-jdk-20.0.1+9.tar.xz) = 41585ff383497464e5d6c278b39bed9eeddc80add72b65bd2ab8c95867ce5bc8bfb0ea860fcaf7c4cc5d41122fd62cf3348fa6c788a1978bdc7f20c3d0289b9b +SHA512 (openjdk-jdk20u-jdk-20.0.2+9.tar.xz) = ce5383228c42f612e79e65300c048e91ec3ae5941b6769c67c05aa4e98299f8044b2945e64cd38b2e60f3c7558e608a3baa20cf7af2b0108d48c865a71ee1979 From 78e31cb2a6834c9ae130eccd045509e51770be34 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Thu, 3 Aug 2023 18:39:00 +0200 Subject: [PATCH 11/12] Finished release notes --- NEWS | 114 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 93 insertions(+), 21 deletions(-) diff --git a/NEWS b/NEWS index 9e7234f..256b111 100644 --- a/NEWS +++ b/NEWS @@ -14,28 +14,100 @@ New in release OpenJDK 20.0.2 (2023-07-18): - CVE-2023-22049 - CVE-2023-22036 - CVE-2023-22006 +* Security fixes + - JDK-8299945: Update the release version after forking Apr CPU23_04 + - JDK-8299946: Update the Jul CPU23_07 release date in master branch after forking Apr CPU23_04 + - JDK-8299129: Enhance NameService lookups + - JDK-8295304: Runtime support improvements + - JDK-8300285: Enhance TLS data handling + - JDK-8298676: Enhanced Look and Feel + - JDK-8304460: Improve array usages + - JDK-8304468: Better array usages + - JDK-8302483: Enhance ZIP performance + - JDK-8305565: Incorrect milestone for release JDK 20.0.2 + - JDK-8300596: Enhance Jar Signature validation + - JDK-8302475: Enhance HTTP client file downloading + - JDK-8305421: Work around JDK-8305420 in CDSJDITest.java + - JDK-8294323: Improve Shared Class Data + - JDK-8305312: Enhanced path handling + - JDK-8296565: Enhanced archival support + - JDK-8306049: Change milestone to fcs for all releases + - JDK-8303376: Better launching of JDI + - JDK-8308682: Enhance AES performance * Other changes - - JDK-8208077: File.listRoots performance degradation - - JDK-8304741 C2 Intrinsification of Float.floatToFloat16 and Float.float16ToFloat Yields Different Result than the Interpreter - - JDK-8306763 GHA: MSVC installation is failing - - JDK-8304075 Consider removal of expiry check in VerifyCACerts.java test - - JDK-8304077 The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id - - JDK-8304227 Corrupted heap dumps due to missing retries for os::write() - - JDK-8304424 Update HarfBuzz to 7.0.1 - - JDK-8304887 javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError - - JDK-8305123 javac regression: Compilation with --release 8 fails on underscore in enum identifiers - - JDK-8305537 Use default visibility for static library builds - - JDK-8305540 ArrayFill with store on backedge needs to reduce length by 1 - - JDK-8305541 C2: Div/Mod nodes without zero check could be split through iv phi of loop resulting in SIGFPE - - JDK-8305542 C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors - - JDK-8305546 C2: Arraycopy intrinsic throws incorrect exception - - JDK-8305548 use-after-free related to GraphKit::clone_map - - JDK-8305549 SIGSEGV in LibraryCallKit::inline_string_copy due to constant NULL src argument - - JDK-8305550 C2: CmpU::Value must filter overflow computation against local sub computation - - JDK-8305551 C2 compiled code crashes with SIGFPE with -XX:+StressLCM and -XX:+StressGCM - - JDK-8305554 C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument - - JDK-8305555 C2: assert(get_ctrl(n) == cle_out) during unrolling - - JDK-8305557 Vector.lane() gets wrong value on x86 + - JDK-8304741: C2 Intrinsification of Float.floatToFloat16 and Float.float16ToFloat Yields Different Result than the Interpreter + - JDK-8306763: GHA: MSVC installation is failing + - JDK-8304075: Consider removal of expiry check in VerifyCACerts.java test + - JDK-8304077: The "ZonedDateTime.parse" may not accept the "UTC+XX" zone id + - JDK-8304227: Corrupted heap dumps due to missing retries for os::write() + - JDK-8304424: Update HarfBuzz to 7.0.1 + - JDK-8304887: javax/swing/JFileChooser/4847375/bug4847375.java fails with AssertionError + - JDK-8305123: javac regression: Compilation with --release 8 fails on underscore in enum identifiers + - JDK-8305537: Use default visibility for static library builds + - JDK-8305540: ArrayFill with store on backedge needs to reduce length by 1 + - JDK-8305541: C2: Div/Mod nodes without zero check could be split through iv phi of loop resulting in SIGFPE + - JDK-8305542: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors + - JDK-8305546: C2: Arraycopy intrinsic throws incorrect exception + - JDK-8305548: use-after-free related to GraphKit::clone_map + - JDK-8305549: SIGSEGV in LibraryCallKit::inline_string_copy due to constant NULL src argument + - JDK-8305550: C2: CmpU::Value must filter overflow computation against local sub computation + - JDK-8305551: C2 compiled code crashes with SIGFPE with -XX:+StressLCM and -XX:+StressGCM + - JDK-8305554: C2: java.lang.StringUTF16::indexOfChar intrinsic called with negative character argument + - JDK-8305555: C2: assert(get_ctrl(n) == cle_out) during unrolling + - JDK-8305557: Vector.lane() gets wrong value on x86 + - JDK-8305558: [JVMCI] Insufficient error handling when CodeBuffer is exhausted + - JDK-8305560: C2: "Bad graph detected in build_loop_late" after a CMove is wrongly split thru phi + - JDK-8305561: DebugNonSafepoints generates incorrect information + - JDK-8305850: Fastdebug build fails after JDK-8296389 + - JDK-8305851: use-def assert: special case undetected loops nested in infinite loops + - JDK-8305865: (tz) Update Timezone Data to 2023c + - JDK-8305876: Special case infinite loops with unmerged backedges in IdealLoopTree::check_safepts + - JDK-8306319: Add the runtime version in the release file of a JDK image + - JDK-8306478: On the latest macOS+XCode the Robot API may report wrong colors + - JDK-8306750: Upgrade JLine to 3.22.0 + - JDK-8306751: JShell does not switch to raw mode when there is no /bin/test + - JDK-8306771: [AIX] Broken build after JDK-8301998 + - JDK-8307107: updateIconImages may lead to deadlock after JDK-8276849 + - JDK-8307111: Shenandoah evacuation workers may deadlock + - JDK-8307112: GHA: MSVC installation could be optional since it might already be pre-installed + - JDK-8307151: Shenandoah: Missing barriers on deoptimization path + - JDK-8307364: Make runtime/Monitor/GuaranteedAsyncDeflationIntervalTest.java more reliable + - JDK-8307372: Add TWCA Global Root CA + - JDK-8307373: Add 2 Microsoft TLS roots + - JDK-8307391: Monitor deflation might be accidentally disabled by zero intervals + - JDK-8307631: Add GTS root CAs + - JDK-8308008: java.time.Instant calculation bug in until and between methods + - JDK-8309850: ConcurrentModificationException in javadoc tool + - JDK-8301870: Include cdb in the Windows devkit + - JDK-8303906: Update jdk20u fix version to 20.0.2 + - JDK-8303958: Missing Classpath exception from Continuation.c + - JDK-8304417: GCC 12 reports some compiler warnings in bundled freetype + - JDK-8304981: jcmd: ManagementAgent.status truncates the text longer than O_BUFLEN + - JDK-8305545: [JVMCI] HotSpotResolvedJavaMethodImpl.canBeInlined must respect ForceInline + - JDK-8305547: use-after-free in Node::destruct + - JDK-8305552: [JVMCI] BytecodeFrame.equals is broken + - JDK-8305553: C2: assert in PhaseIdealLoop::do_unroll() is subject to undefined behavior + - JDK-8305789: Update Commons BCEL to Version 6.7.0 + - JDK-8305849: Memory leak in CompilerOracle::parse_from_line + - JDK-8305859: ProblemList runtime/CompressedOops/CompressedClassPointers.java + - JDK-8305948: Performance degradation for float/double modulo on Linux + - JDK-8306448: NoClassDefFoundError omits the original cause of an error + - JDK-8307209: Thread stacksize is reported with wrong units in os::create_thread logging + - JDK-8307360: [vectorapi] The typeChar of LaneType is incorrect when default locale is tr + - JDK-8307361: Guarantee eventual async monitor deflation + - JDK-8307380: harfbuzz build fails with GCC 7 after JDK-8301998 + - JDK-8307419: UTIL_LOOKUP_PROGS fails on pathes with space + - JDK-8307420: UTIL_REQUIRE_SPECIAL warning on grep + - JDK-8307705: Support for GB18030-2022 + - JDK-8308112: Allow collectors to provide specific values for GC notifications' actions + - JDK-8308390: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0 + - JDK-8308418: Socket input stream read burns CPU cycles with back-to-back poll(0) calls + - JDK-8308457: [AIX] VM crashes with UseRTMLocking on Power10 + - JDK-8308693: Add missing gc+phases logging for ObjectCount(AfterGC) JFR event collection code + - JDK-8309483: PPC: Non-Top Interpreted frames should be independent of ABI_ELFv2 + - JDK-8305544: UB: Compile::_phase_optimize_finished is initialized too late + - JDK-8305556: Memory leak in WB_IsMethodCompatible + - JDK-8305559: Identical branch conditions in CompileBroker::print_heapinfo The full list of changes in 20u can be found at: - * https://builds.shipilev.net/backports-monitor/release-notes-20.0.2.txt From 27c4a8f2a99cb1f490ece8c29fe2a89fca7dad4a Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Fri, 4 Aug 2023 15:36:25 +0200 Subject: [PATCH 12/12] Removed wrong, rcms .1 --- java-latest-openjdk-portable.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-latest-openjdk-portable.spec b/java-latest-openjdk-portable.spec index e69d40b..6d96bdf 100644 --- a/java-latest-openjdk-portable.spec +++ b/java-latest-openjdk-portable.spec @@ -561,7 +561,7 @@ Version: %{newjavaver}.%{buildver} # This package needs `.rolling` as part of Release so as to not conflict on install with # java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as # java-X-openjdk. See: https://bugzilla.redhat.com/show_bug.cgi?id=1647298 -Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling%{?dist}.1 +Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling%{?dist} # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a