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

duke duke at openjdk.org
Wed Feb 11 15:30:08 UTC 2026


On Mon, 9 Feb 2026 21:06:08 GMT, Roland Mesde <duke at openjdk.org> wrote:

> 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)

@rm-gh-8 
Your change (at version 91a2c748d235f0ddd7e08bac27f6c7a40904d572) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk25u-dev/pull/251#issuecomment-3885166592


More information about the jdk-updates-dev mailing list