[jdk25u-dev] RFR: 8360882: Tests throw SkippedException when they should fail

Roland Mesde duke at openjdk.org
Wed Feb 11 09:53:59 UTC 2026


Backporting JDK-8360882: Tests throw SkippedException when they should fail.

This PR fixes ArtifactResolver to throw IOException instead of SkippedException when artifacts fail to fetch, allowing tests to decide whether to skip or fail.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/jdk/sun/security/pkcs11

Results attached:

[windows-x64-specific-test.log](https://github.com/user-attachments/files/25216485/windows-x64-specific-test.log)
[macos-aarch64-specific-test.log](https://github.com/user-attachments/files/25216487/macos-aarch64-specific-test.log)
[linux-x64-specific-test.log](https://github.com/user-attachments/files/25216488/linux-x64-specific-test.log)
[linux-aarch64-specific-test.log](https://github.com/user-attachments/files/25216489/linux-aarch64-specific-test.log)

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

Commit messages:
 - Backport 26b5708c47150023798a1546ba095c1b0b7807e1

Changes: https://git.openjdk.org/jdk25u-dev/pull/251/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=251&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8360882
  Stats: 38 lines in 3 files changed: 15 ins; 8 del; 15 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/251.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/251/head:pull/251

PR: https://git.openjdk.org/jdk25u-dev/pull/251


More information about the jdk-updates-dev mailing list