RFR: 8360882: Tests throw SkippedException when they should fail

Matthew Donovan mdonovan at openjdk.org
Wed Aug 20 20:05:21 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.

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

Commit messages:
 - 8360882: Tests throw SkippedException when they should fail

Changes: https://git.openjdk.org/jdk/pull/26868/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26868&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8360882
  Stats: 37 lines in 2 files changed: 9 ins; 13 del; 15 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