RFR: 8336691: Test LongArgTest.java intermittent fails java.lang.NoClassDefFoundError: jdk/test/lib/Utils [v2]

SendaoYan syan at openjdk.org
Thu Jul 18 07:30:47 UTC 2024


> Hi all,
> The testcase `serviceability/attach/LongArgTest.java` intermittent fails `java.lang.NoClassDefFoundError: jdk/test/lib/Utils`. Jtreg doesn't automatically compile `jdk/test/lib/Utils.class` and `jdk/test/lib/apps/LingeredApp.class` etc.. Maybe it's a jtreg  framework bug.
> I think it's necessory to compile `jdk.test.lib.Utils` and `jdk.test.lib.apps.LingeredApp` explicitly.
> Only change the testcase, the change has been verified, no risk.

SendaoYan has updated the pull request incrementally with one additional commit since the last revision:

  delete @build LongArgTest

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20228/files
  - new: https://git.openjdk.org/jdk/pull/20228/files/81a3173a..62fc537d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20228&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20228&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20228.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20228/head:pull/20228

PR: https://git.openjdk.org/jdk/pull/20228


More information about the serviceability-dev mailing list