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

Kevin Walls kevinw at openjdk.java.net
Tue Mar 1 10:34:05 UTC 2022


On Thu, 24 Feb 2022 12:44:18 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> The fix adds workaround in hs201t001a class like we have in hs201t001 test to avoid class loading while the test do single stepping/pop frame.
> Also fixed a number of issues in the test.

Looks like a good improvement.

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?

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

Marked as reviewed by kevinw (Committer).

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


More information about the serviceability-dev mailing list