RFR: 8368756: Skip sun/security/provider/acvp/Launcher.java when ACVP-Server artifact isn't found
Francesco Andreuzzi
fandreuzzi at openjdk.org
Fri Sep 26 09:49:24 UTC 2025
I propose to skip the test when the ACVP-Server artifact isn't found, instead of throwing the following exception:
java.io.IOException: Cannot find the artifact ACVP-Server
at jdk.test.lib.artifacts.ArtifactResolver.fetchOne(ArtifactResolver.java:100)
at Launcher.main(Launcher.java:117)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: jdk.test.lib.artifacts.ArtifactResolverException: Couldn't automatically resolve dependency for ACVP-Server
Please specify the location using jdk.test.lib.artifacts.ACVP-Server
at jdk.test.lib.artifacts.DefaultArtifactManager.resolve(DefaultArtifactManager.java:39)
at jdk.test.lib.artifacts.DefaultArtifactManager.resolve(DefaultArtifactManager.java:32)
at jdk.test.lib.artifacts.ArtifactResolver.resolve(ArtifactResolver.java:61)
at jdk.test.lib.artifacts.ArtifactResolver.fetchOne(ArtifactResolver.java:96)
... 5 more
-------------
Commit messages:
- order
- skip
Changes: https://git.openjdk.org/jdk/pull/27518/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27518&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8368756
Stats: 7 lines in 1 file changed: 5 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/27518.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27518/head:pull/27518
PR: https://git.openjdk.org/jdk/pull/27518
More information about the security-dev
mailing list