[jdk21u-dev] RFR: 8344993: [21u] Re-introduce 8327501 and 8328366 to the JDK
Alan Bateman
alanb at openjdk.org
Tue Nov 26 08:59:50 UTC 2024
On Mon, 25 Nov 2024 22:17:04 GMT, Martin Balao <mbalao at openjdk.org> wrote:
> Hi,
>
> In this PR I back out 8341989 for 8327501 and 8328366 to be re-introduced to JDK 21u. I plan to propose a backport of 8342905 thereafter. Reversion of 8341989 was clean.
>
> Thanks,
> Martin.-
src/java.base/share/classes/java/util/concurrent/ForkJoinPool.java line 984:
> 982: @SuppressWarnings("removal")
> 983: SecurityManager sm = System.getSecurityManager();
> 984: if (sm != null && isCommon)
The check should be `if (isCommon && JLA.allowSecurityManager())` as a SM can be set mid-flight even if it is super weird to do that.
-------------
PR Review Comment: https://git.openjdk.org/jdk21u-dev/pull/1181#discussion_r1858073335
More information about the jdk-updates-dev
mailing list