RFR: 8306471: Add virtual threads support to JDWP ThreadReference.Stop and JDI ThreadReference.stop() [v10]

Serguei Spitsyn sspitsyn at openjdk.org
Fri May 12 04:06:50 UTC 2023


On Fri, 12 May 2023 03:45:58 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/stop/stop002.java line 154:
>> 
>>> 152:                 log.complain("TEST #1 FAILED: expected IllegalArgumentException was not thrown");
>>> 153:                 tot_res = Consts.TEST_FAILED;
>>> 154:             } catch (InvalidTypeException ee) {
>> 
>> It is confusing that the log.complain at line 152 expects `IllegalArgumentException` but the really expected exception is `InvalidTypeException`. Is it intentional? If so then it is better to clarify it in the comment.
>
> Yes, this looks like a pre-existing bug. I'll cleanup the message.

Thank you for the update!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13548#discussion_r1191883442


More information about the serviceability-dev mailing list