RFR: 8360882: Tests throw SkippedException when they should fail [v2]
Matthew Donovan
mdonovan at openjdk.org
Thu Aug 21 12:17:13 UTC 2025
> This PR updates `ArtifactResolver.fetchOne()` to throw an IOException instead of SkippedException. This allows tests to determine of a missing "artifact" should be treated as a failed or skipped test.`OpensslArtifactFetcher` is also updated to only throw SkippedException if OpenSSL is not available on the test platform.
Matthew Donovan has updated the pull request incrementally with one additional commit since the last revision:
Reorderd the logic to the way it was before; the system prop and path would rarely be checked otherwise.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/26868/files
- new: https://git.openjdk.org/jdk/pull/26868/files/ae26c5a2..cdf2cae0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=26868&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=26868&range=00-01
Stats: 23 lines in 1 file changed: 12 ins; 10 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/26868.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26868/head:pull/26868
PR: https://git.openjdk.org/jdk/pull/26868
More information about the security-dev
mailing list