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

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

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

Changes: https://git.openjdk.org/jdk/pull/27648/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27648&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368500
  Stats: 80 lines in 2 files changed: 76 ins; 2 del; 2 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

Reply via email to