RFR: 8323782: Race: Thread::interrupt vs. AbstractInterruptibleChannel.begin [v2]

Richard Reingruber rrich at openjdk.org
Fri Jan 19 08:19:26 UTC 2024


On Fri, 19 Jan 2024 07:57:36 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> > I noticed that VirtualThread overrides `isInterrupted`
> > Is there a reason to have this override?
> 
> It was necessary at one point but no reason to now except to keep it close at the source level with the other methods that access the interrupt status.

Do you want to keep it then or should I open an RFE to remove it?

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

PR Comment: https://git.openjdk.org/jdk/pull/17444#issuecomment-1899953186


More information about the core-libs-dev mailing list