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

SendaoYan syan at openjdk.org
Wed Nov 27 02:45:36 UTC 2024


On Wed, 27 Nov 2024 02:13:41 GMT, Leonid Mesnik <lmesnik 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.

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

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


More information about the hotspot-dev mailing list