On Sat, 23 Nov 2024 12:08:24 GMT, Alan Bateman <al...@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.

I agree that "&&" would be clearer. Will do.

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

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

Reply via email to