RFR: 8368500: ContextClassLoader cannot be reset on threads in ForkJoinPool.commonPool() [v4]

Johny Jose duke at openjdk.org
Thu Oct 23 12:27:42 UTC 2025


> 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

Johny Jose has updated the pull request incrementally with one additional commit since the last revision:

  Review changes to throw assertion error

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27648/files
  - new: https://git.openjdk.org/jdk/pull/27648/files/69cd37de..739f798d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27648&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27648&range=02-03

  Stats: 28 lines in 1 file changed: 21 ins; 3 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/27648.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27648/head:pull/27648

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


More information about the core-libs-dev mailing list