Merge branch 'c9' into a9
This commit is contained in:
commit
97b419d065
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
SOURCES/openjdk-21.0.5+10.tar.xz
|
||||
SOURCES/openjdk-21.0.5+11.tar.xz
|
||||
SOURCES/tapsets-icedtea-6.0.0pre00-c848b93a8598.tar.xz
|
||||
|
@ -1,2 +1,2 @@
|
||||
89bb6472bad54865ca24d3acfc3359c5f2ed094c SOURCES/openjdk-21.0.5+10.tar.xz
|
||||
369c387555e8f6d25cc248e126e910c164aa4f05 SOURCES/openjdk-21.0.5+11.tar.xz
|
||||
c8281ee37b77d535c9c1af86609a531958ff7b34 SOURCES/tapsets-icedtea-6.0.0pre00-c848b93a8598.tar.xz
|
||||
|
@ -376,6 +376,7 @@ Live versions of these release notes can be found at:
|
||||
- JDK-8341057: Add 2 SSL.com TLS roots
|
||||
- JDK-8341059: Change Entrust TLS distrust date to November 12, 2024
|
||||
- JDK-8341674: [21u] Remove designator DEFAULT_PROMOTED_VERSION_PRE=ea for release 21.0.5
|
||||
- JDK-8341989: [21u] Back out JDK-8327501 and JDK-8328366
|
||||
|
||||
Notes on individual issues:
|
||||
===========================
|
||||
|
@ -381,7 +381,7 @@
|
||||
%global origin_nice OpenJDK
|
||||
%global top_level_dir_name %{vcstag}
|
||||
%global top_level_dir_name_backup %{top_level_dir_name}-backup
|
||||
%global buildver 10
|
||||
%global buildver 11
|
||||
%global rpmrelease 1
|
||||
#%%global tagsuffix %%{nil}
|
||||
# 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
|
||||
@ -652,8 +652,6 @@ Patch1001: fips-%{featurever}u-%{fipsver}.patch
|
||||
# OpenJDK patches in need of upstreaming
|
||||
#
|
||||
#############################################
|
||||
# Revert backport of JDK-8327501 & JDK-8328366
|
||||
Patch2001: jdk8327501-8328366-revert.patch
|
||||
|
||||
# Currently empty
|
||||
|
||||
@ -963,8 +961,6 @@ sh %{SOURCE12} %{top_level_dir_name}
|
||||
pushd %{top_level_dir_name}
|
||||
# Add crypto policy and FIPS support
|
||||
%patch -P1001 -p1
|
||||
# Backport reversion
|
||||
%patch -P2001 -p1
|
||||
popd # openjdk
|
||||
|
||||
|
||||
@ -1842,6 +1838,11 @@ done
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Oct 16 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.5.0.11-1
|
||||
- Update to jdk-21.0.5+11 (GA)
|
||||
- Update release notes to 21.0.5+11
|
||||
- Remove local JDK-8327501 & JDK-8328366 backport as this is now upstream.
|
||||
|
||||
* Sat Oct 12 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.5.0.10-1
|
||||
- Update to jdk-21.0.5+10 (GA)
|
||||
- Update release notes to 21.0.5+10
|
||||
|
@ -1,49 +0,0 @@
|
||||
commit f21b0a990905afe79b56919a5119e2c06e29d61a
|
||||
Author: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
||||
Date: Sat Oct 12 02:31:38 2024 +0100
|
||||
|
||||
Revert "8327501: Common ForkJoinPool prevents class unloading in some cases"
|
||||
|
||||
This reverts commit eb103b0e1abeeee19779cafc763d3d159030fb48.
|
||||
|
||||
diff --git a/src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java b/src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java
|
||||
index 8aafda5312e..5e698b1540f 100644
|
||||
--- a/src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java
|
||||
+++ b/src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java
|
||||
@@ -981,7 +981,9 @@ public class ForkJoinPool extends AbstractExecutorService {
|
||||
boolean isCommon = (pool.workerNamePrefix == null);
|
||||
@SuppressWarnings("removal")
|
||||
SecurityManager sm = System.getSecurityManager();
|
||||
- if (sm != null && isCommon)
|
||||
+ if (sm == null)
|
||||
+ return new ForkJoinWorkerThread(null, pool, true, false);
|
||||
+ else if (isCommon)
|
||||
return newCommonWithACC(pool);
|
||||
else
|
||||
return newRegularWithACC(pool);
|
||||
diff --git a/test/jdk/java/util/concurrent/tck/ForkJoinPool9Test.java b/test/jdk/java/util/concurrent/tck/ForkJoinPool9Test.java
|
||||
index a87aa7b916b..266c2a036fe 100644
|
||||
--- a/test/jdk/java/util/concurrent/tck/ForkJoinPool9Test.java
|
||||
+++ b/test/jdk/java/util/concurrent/tck/ForkJoinPool9Test.java
|
||||
@@ -79,9 +79,6 @@ public class ForkJoinPool9Test extends JSR166TestCase {
|
||||
assertSame(ForkJoinPool.commonPool(), ForkJoinTask.getPool());
|
||||
Thread currentThread = Thread.currentThread();
|
||||
|
||||
- ClassLoader preexistingContextClassLoader =
|
||||
- currentThread.getContextClassLoader();
|
||||
-
|
||||
Stream.of(systemClassLoader, null).forEach(cl -> {
|
||||
if (randomBoolean())
|
||||
// should always be permitted, without effect
|
||||
@@ -98,11 +95,6 @@ public class ForkJoinPool9Test extends JSR166TestCase {
|
||||
() -> System.getProperty("foo"),
|
||||
() -> currentThread.setContextClassLoader(
|
||||
classLoaderDistinctFromSystemClassLoader));
|
||||
- else {
|
||||
- currentThread.setContextClassLoader(classLoaderDistinctFromSystemClassLoader);
|
||||
- assertSame(currentThread.getContextClassLoader(), classLoaderDistinctFromSystemClassLoader);
|
||||
- currentThread.setContextClassLoader(preexistingContextClassLoader);
|
||||
- }
|
||||
// TODO ?
|
||||
// if (haveSecurityManager
|
||||
// && Thread.currentThread().getClass().getSimpleName()
|
@ -365,8 +365,8 @@
|
||||
%global origin_nice OpenJDK
|
||||
%global top_level_dir_name %{vcstag}
|
||||
%global top_level_dir_name_backup %{top_level_dir_name}-backup
|
||||
%global buildver 10
|
||||
%global rpmrelease 3
|
||||
%global buildver 11
|
||||
%global rpmrelease 2
|
||||
# Settings used by the portable build
|
||||
%global portablerelease 1
|
||||
# Portable suffix differs between RHEL and CentOS
|
||||
@ -1425,8 +1425,6 @@ Patch1001: fips-%{featurever}u-%{fipsver}.patch
|
||||
# OpenJDK patches in need of upstreaming
|
||||
#
|
||||
#############################################
|
||||
# Revert backport of JDK-8327501 & JDK-8328366
|
||||
Patch2001: jdk8327501-8328366-revert.patch
|
||||
|
||||
# Currently empty
|
||||
|
||||
@ -1902,8 +1900,6 @@ sh %{SOURCE12} %{top_level_dir_name}
|
||||
pushd %{top_level_dir_name}
|
||||
# Add crypto policy and FIPS support
|
||||
%patch -P1001 -p1
|
||||
# Backport reversion
|
||||
%patch -P2001 -p1
|
||||
popd # openjdk
|
||||
|
||||
|
||||
@ -2541,8 +2537,15 @@ cjc.mainProgram(args)
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Thu Oct 17 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1:21.0.5.0.10-3.alma.1
|
||||
- Delete pkgos definition
|
||||
* Tue Nov 12 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1:21.0.5.0.11-2.alma.1
|
||||
- Set portablesuffix to el8
|
||||
|
||||
* Wed Oct 16 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.5.0.11-2
|
||||
- Update to jdk-21.0.5+11 (GA)
|
||||
- Update release notes to 21.0.5+11
|
||||
- Remove local JDK-8327501 & JDK-8328366 backport as this is now upstream.
|
||||
- Sync the copy of the portable specfile with the latest update
|
||||
- Related: RHEL-61344
|
||||
|
||||
* Sun Oct 13 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.5.0.10-3
|
||||
- Sync the copy of the portable specfile with the latest update
|
||||
|
Loading…
Reference in New Issue
Block a user