Integrated: 8368500: ContextClassLoader cannot be reset on threads in ForkJoinPool.commonPool()

Johny Jose duke at openjdk.org
Mon Oct 27 10:26:43 UTC 2025


On Mon, 6 Oct 2025 15:13:35 GMT, Johny Jose <duke at openjdk.org> wrote:

> The permanent disabling of the Security Manager in JDK 24  allow setCCL to set the CCL to a custom class loader. However, it doesn't allow it to be set to a custom class loader and then "reset" back to the system class loader before executing further code in the task. The changes are made to relax the restriction in setCCL to reset back to system class loader

This pull request has now been integrated.

Changeset: 6f8d07ae
Author:    Johny Jose <johny.jose at oracle.com>
Committer: Viktor Klang <vklang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6f8d07ae21e49f87f64a5d4e10c930c4447ec8b6
Stats:     60 lines in 2 files changed: 56 ins; 2 del; 2 mod

8368500: ContextClassLoader cannot be reset on threads in ForkJoinPool.commonPool()

Reviewed-by: vklang, alanb

-------------

PR: https://git.openjdk.org/jdk/pull/27648


More information about the core-libs-dev mailing list