RFR: Debugger changes to support JVMTI now returning JVMTI_ERROR_UNSUPPORTED_OPERATION for Thread.stop() of a virtual thread. [v2]

Alan Bateman alanb at openjdk.java.net
Fri Apr 15 18:41:51 UTC 2022


On Fri, 15 Apr 2022 14:40:40 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> I also think it should be "command" instead of "operation" to be consistent with the text a little bit above this that reads:

Okay, although the resulting "The thread is a virtual thread and the target VM does not support the command" should probably be expanded to make it clear that the command is not supported on virtual threads. This would avoid an interpreting it to mean that the error is returned when the VM doesn't support the command AND the thread ID is for a virtual thread.

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

PR: https://git.openjdk.java.net/loom/pull/146


More information about the loom-dev mailing list