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

Chris Plummer cjplummer at openjdk.java.net
Fri Apr 15 14:43:50 UTC 2022


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

>> src/java.se/share/data/jdwp/jdwp.spec line 2027:
>> 
>>> 2025:                                   "is not alive.")
>>> 2026:             (Error NOT_IMPLEMENTED "The thread is a virtual thread and the target VM "
>>> 2027:                                   "VM does not support the operation.")
>> 
>> The updated version repeats "VM".
>
> Oops. Already integrated. Will do a direct push to fix. Also, I think the JDI wording should be made to look similar.

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

        "The target VM may not support, or may only provide limited support, for "
        "this command when the thread is a virtual thread. It may, for example, "

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

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


More information about the loom-dev mailing list