RFR: 8357282: Test vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java fails after ClassNotFoundException

Leonid Mesnik lmesnik at openjdk.org
Sat May 24 02:59:02 UTC 2025


On Thu, 22 May 2025 20:38:20 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> test/hotspot/jtreg/vmTestbase/nsk/share/aod/AODRunnerArgParser.java line 109:
>> 
>>> 107:         }
>>> 108: 
>>> 109:         String target = options.getProperty(TARGET_APP_PARAM);
>> 
>> I think it is better to remove -classPath from parameters and 
>> use
>>  ${test.class.path}
>> directly in the test.
>
> The test is run by `nsk.share.aod.AODTestRunner` which runs test app specified by "target" argument.
> Target apps have no system properties like test.class.path

Thanks for explanation.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25366#discussion_r2105680825


More information about the serviceability-dev mailing list