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

Roland Mesde duke at openjdk.org
Thu Feb 12 12:12:28 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)

This pull request has now been integrated.

Changeset: 14d96986
Author:    Roland Mesde <mesde at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk25u-dev/commit/14d96986f037920ba3883ee66ead449dd4d74fe2
Stats:     38 lines in 3 files changed: 15 ins; 8 del; 15 mod

8360882: Tests throw SkippedException when they should fail

Backport-of: 26b5708c47150023798a1546ba095c1b0b7807e1

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

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


More information about the jdk-updates-dev mailing list