RFR: 8249831: Test sun/security/mscapi/nonUniqueAliases/NonUniqueAliases.java is marked with @ignore
Hai-May Chao
hchao at openjdk.org
Wed Feb 5 22:48:14 UTC 2025
On Wed, 2 Oct 2024 13:24:00 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.
Nit: copyright update
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21305#issuecomment-2638206069
More information about the security-dev
mailing list