RFR: 8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore [v2]

Rajan Halade rhalade at openjdk.org
Fri Feb 7 20:39:15 UTC 2025


On Thu, 6 Feb 2025 09:53:04 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

>> The test: **sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java** relies on the `certutil.exe` tool to import and delete certificates from a keystore. It was annotated with `@ignore` due to the uncertainty of `certutil.exe` being available on the instance where the test is executed.
>> 
>> Rather than ignoring the test entirely, this PR updates the logic to throw a `SkippedException` if the tool is not found, ensuring the test runs when possible, and gracefully skipped otherwise.
>
> Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update copyright to 2025

Marked as reviewed by rhalade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/21305#pullrequestreview-2602776833


More information about the security-dev mailing list