-
Bug
-
Resolution: Fixed
-
P3
-
8u121
-
b08
-
sparc
-
solaris_10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8208954 | 8u201 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8200479 | 8u192 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8216855 | emb-8u201 | Ivan Gerasimov | P3 | Resolved | Fixed | master |
JDK-8201451 | 7u201 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
java/security/Signature/SignatureLength.java test fails JDK 8 and 9 .
Reproducible: Always
Is it a platform specific issue: Yes (Fails only in Sol 10 Sparc architecture)
observation: This happens only with "SunPKCS11-Solaris JCE" provider, if we use "-Dsun.security.pkcs11.enable-solaris=false" flag, its working as expected with "SunRsaSign JCE" provider.
Which combination: Key algo: RSA, keysize: 1028, signatureAlgorithm: SHA256withRSA, with default provider.
Exception stack trace:
Generating RSA keypair using SunPKCS11-Solaris JCE provider
Signing using SunPKCS11-Solaris JCE provider
Invalidating signature ...
Verifying using SunPKCS11-Solaris JCE provider
Valid? false
----------System.err:(13/707)----------
java.lang.Exception: ERROR: expected a SignatureException but none was thrown
at SignatureLength.main0(SignatureLength.java:94)
at SignatureLength.main(SignatureLength.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.lang.Thread.run(Thread.java:745)
Reproducible: Always
Is it a platform specific issue: Yes (Fails only in Sol 10 Sparc architecture)
observation: This happens only with "SunPKCS11-Solaris JCE" provider, if we use "-Dsun.security.pkcs11.enable-solaris=false" flag, its working as expected with "SunRsaSign JCE" provider.
Which combination: Key algo: RSA, keysize: 1028, signatureAlgorithm: SHA256withRSA, with default provider.
Exception stack trace:
Generating RSA keypair using SunPKCS11-Solaris JCE provider
Signing using SunPKCS11-Solaris JCE provider
Invalidating signature ...
Verifying using SunPKCS11-Solaris JCE provider
Valid? false
----------System.err:(13/707)----------
java.lang.Exception: ERROR: expected a SignatureException but none was thrown
at SignatureLength.main0(SignatureLength.java:94)
at SignatureLength.main(SignatureLength.java:42)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.lang.Thread.run(Thread.java:745)
- backported by
-
JDK-8200479 [TEST_BUG] java/security/Signature/SignatureLength.java fails
-
- Resolved
-
-
JDK-8201451 [TEST_BUG] java/security/Signature/SignatureLength.java fails
-
- Resolved
-
-
JDK-8208954 [TEST_BUG] java/security/Signature/SignatureLength.java fails
-
- Resolved
-
-
JDK-8216855 [TEST_BUG] java/security/Signature/SignatureLength.java fails
-
- Resolved
-
- links to