RFR: 8344987: Test serviceability/sa/TestJhsdbJstackPrintVMLocks.java fails: NoClassDefFoundError: jdk/test/lib/Utils

SendaoYan syan at openjdk.org
Wed Nov 27 06:36:42 UTC 2024


On Wed, 27 Nov 2024 02:43:23 GMT, SendaoYan <syan at openjdk.org> wrote:

>> The real bug is
>> https://bugs.openjdk.org/browse/CODETOOLS-7902847 Class directory of a test case should not be used to compile a library
>> 
>> and the following workaround just excludes the testing group where it fails often. 
>> 
>> There is no plans to update test right now. The jtreg should be fixed.
>
> How about exclude this test in `test/hotspot/jtreg/ProblemList.txt`, add a problemlist entry like `serviceability/sa/TestJhsdbJstackPrintVMLocks.java CODETOOLS-7902847 generic-all`, since this test will be convenient re-enable after [CODETOOLS-7902847](https://bugs.openjdk.org/browse/CODETOOLS-7902847) been fixed.

> @sendaoYan adding to the PL will mean the test never runs. With the proposed change it will still run in tier1_serviceability where it has not been seen to fail, but will no longer run in the problematic tier4 grouping. 

Thanks David's explanation.

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

PR Comment: https://git.openjdk.org/jdk/pull/22405#issuecomment-2503019213


More information about the hotspot-dev mailing list