Relates :
|
|
Relates :
|
|
Relates :
|
sun/security/mscapi/SignedObjectChain.java fails at windows (and this test is windows-only test), reproducible. Note that though this test was introduced in JDK-8050374, but due to missed @run tag, test is not run. After added @run (JDK-8176182), the failure shows up. ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some tests failed REASON: User specified action: run main SignedObjectChain TIME: 12.157 seconds ... STDOUT: Test: provider = SunMSCAPI, signature algorithm = MD2withRSA, key algorithm = RSA Unexpected exception: java.security.InvalidKeyException: Key type not supported java.security.InvalidKeyException: Key type not supported at jdk.crypto.mscapi/sun.security.mscapi.RSASignature.engineInitSign(RSASignature.java:287) at java.base/java.security.Signature$Delegate.engineInitSign(Signature.java:1200) at java.base/java.security.Signature.initSign(Signature.java:545) at java.base/java.security.SignedObject.sign(SignedObject.java:243) at java.base/java.security.SignedObject.<init>(SignedObject.java:161) at Chain.runTest(Chain.java:167) at SignedObjectChain.lambda$main$0(SignedObjectChain.java:52) at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90) at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958) at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127) at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230) at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.allMatch(ReferencePipeline.java:466) at SignedObjectChain.main(SignedObjectChain.java:51) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:547) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230) at java.base/java.lang.Thread.run(Thread.java:844) STDERR: java.lang.RuntimeException: Some tests failed at SignedObjectChain.main(SignedObjectChain.java:57) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:547) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230) at java.base/java.lang.Thread.run(Thread.java:844)
|