RFR: 8359339: applications/jcstress tests should report SkippedException when can not resolve jcstress.jar

SendaoYan syan at openjdk.org
Wed Jul 16 08:19:17 UTC 2025


Hi all,

I think it's more elegant that applications/jcstress tests report SkippedException when can not resolve jcstress.jar, rather than report  test failure. Change has been verified locally, test-fix only, no risk.

Tests:

- [x] Run test test/hotspot/jtreg/applications/jcstress/countdownlatch.java with -Djdk.test.lib.artifacts.jcstress-tests-all=/hygonjdk/yansendao/software/jdk/jcstress-tests-all-20241217-2035.jar, test run success as expected.
- [x] Run test test/hotspot/jtreg/applications/jcstress/countdownlatch.java without -Djdk.test.lib.artifacts.jcstress-tests-all=/hygonjdk/yansendao/software/jdk/jcstress-tests-all-20241217-2035.jar, test report shipped as expected.

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

Commit messages:
 - 8359339: applications/jcstress tests should report SkippedException when can not resolve jcstress.jar

Changes: https://git.openjdk.org/jdk/pull/26345/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26345&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359339
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26345.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26345/head:pull/26345

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


More information about the hotspot-runtime-dev mailing list