RFR: 8359339: applications/jcstress tests should report SkippedException when can not resolve jcstress.jar
SendaoYan
syan at openjdk.org
Thu Jul 17 09:42:03 UTC 2025
On Wed, 16 Jul 2025 08:02:42 GMT, SendaoYan <syan at openjdk.org> wrote:
> 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.
But I found that there is no document to say how to run the application/jcstress tests, Should we update the file test/hotspot/jtreg/applications/jcstress/README
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26345#issuecomment-3083367073
More information about the hotspot-runtime-dev
mailing list