On Fri, 22 Nov 2024 14:13:19 GMT, Doug Lea <d...@openjdk.org> wrote:

> Complete the SM cleanup in java.util.concurrent that was deferred during 
> other FJP updates

src/java.base/share/classes/java/util/concurrent/ForkJoinWorkerThread.java line 
83:

> 81:         if (handler != null)
> 82:             super.setUncaughtExceptionHandler(handler);
> 83:         if (useSystemClassLoader & !clearThreadLocals) // else done by 
> Thread ctor

It might be clearer to use a conditional-and here although it doesn't make any 
difference here.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22324#discussion_r1855182538

Reply via email to