RFR: 8267796: vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestDescription.java fails with NoClassDefFoundError [v2]

Alex Menkov amenkov at openjdk.java.net
Tue Mar 1 13:14:45 UTC 2022


On Tue, 1 Mar 2022 10:28:45 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

>> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Chris's feedback
>
> test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS201/hs201t002/TestDescription.java line 75:
> 
>> 73:  * @run main/othervm/native
>> 74:  *      -agentlib:hs201t002=pathToNewByteCode=./bin,-waittime=5,-verbose
>> 75:  *      nsk.jvmti.scenarios.hotswap.HS201.hs201t002 -verbose
> 
> Is this second -verbose a mistake?

No. This is the way nsk framework works.
1st -verbose turns on verbose output for agent (native), 2nd one for java part of the test.

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

PR: https://git.openjdk.java.net/jdk/pull/7607


More information about the serviceability-dev mailing list