RFR: 8325187: JVMTI GetThreadState says virtual thread is JVMTI_THREAD_STATE_INTERRUPTED when it no longer is [v7]
Serguei Spitsyn
sspitsyn at openjdk.org
Thu Mar 7 00:13:57 UTC 2024
On Wed, 6 Mar 2024 18:56:54 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> I think you can drop the catch of InterruptedException in Object.wait now. Easy to check this by running test/jdk/java/lang/Thread/virtual/MonitorWaitNotify.java as it has tests for interrupting Object.wait.
Thanks. Fixed now. Tested with the `test/jdk/java/lang/Thread/virtual/MonitorWaitNotify.java`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18093#issuecomment-1982080510
More information about the serviceability-dev
mailing list