RFR: 8360882: Tests throw SkippedException when they should fail [v3]

Matthew Donovan mdonovan at openjdk.org
Fri Aug 22 11:59:24 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:

  updated PKCS11Test to catch IOException and throw Skipped

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26868/files
  - new: https://git.openjdk.org/jdk/pull/26868/files/cdf2cae0..b82bd027

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

  Stats: 16 lines in 2 files changed: 9 ins; 1 del; 6 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