Patch for JDK-8273541

Alan Bateman Alan.Bateman at
Thu Sep 9 13:02:27 UTC 2021

On 09/09/2021 13:36, Kartik Ohri wrote:
> Hi all!
> I would like to work on a fix for JDK-8273541
> <>. I think the regression
> was introduced by the change here
> <>.
> It seems that this was accidentally changed from Thread.MAX_PRIORITY to
> Thread.MIN_PRIORITY.  As Thread.MIN_PRIORITY - 2 is negative and because of
> the check here
> <>,
> the thread priority is not set. Changing this back to
> Thread.MAX_PRIORITY should fix the problem. I tried the patch
> <>
> locally and it seems to fix the issue for me. If it is fine, I would like
> to submit this fix.
Heinz Kabutz is working on a PR here:


More information about the core-libs-dev mailing list