RFR: 8368677: acvp test should throw SkippedException when no ACVP-Server available
Mikhail Yankelevich
myankelevich at openjdk.org
Wed Oct 1 16:24:26 UTC 2025
On Thu, 25 Sep 2025 14:27:28 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
>
> Currently sun/security/provider/acvp/Launcher.java report fails "java.io.IOException: Cannot find the artifact ACVP-Server". This is not jvm bug cause this failure, so I think sun/security/provider/acvp/Launcher.java test should throw SkippedException when no ACVP-Server available.
test/jdk/sun/security/provider/acvp/Launcher.java line 124:
> 122: } catch (IOException e) {
> 123: if (e.getMessage().contains("Cannot find the artifact ACVP-Server")) {
> 124: throw new SkippedException("ACVP-Server not available, skip test.");
nit:
Suggestion:
throw new SkippedException("ACVP-Server not available.");
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27491#discussion_r2395162470
More information about the security-dev
mailing list