-
Bug
-
Resolution: Fixed
-
P2
-
8u40, 9
-
b02
-
b40
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084197 | emb-9 | Anthony Scarpino | P2 | Resolved | Fixed | team |
JDK-8065495 | 8u45 | Anthony Scarpino | P2 | Resolved | Fixed | b01 |
JDK-8064378 | 8u40 | Anthony Scarpino | P2 | Closed | Fixed | b15 |
JDK-8070046 | emb-8u47 | Anthony Scarpino | P2 | Resolved | Fixed | team |
JDK-8172822 | 7u171 | Ivan Gerasimov | P2 | Closed | Fixed | b01 |
Changes introduced by JDK-6311046 resulted in failures in many JCK api/javax_crypto tests. BaddPaddingExceptions and InvalidKeyExceptions are thrown with the same message of "Invalid pad value". The failure occurs only with SunPKCS11 provider, which is default on Solaris installs. It can occur on other OSes if SunPKCS11 is enabled.
java.security.InvalidKeyException: Invalid pad value!
at javax.crypto.SealedObject.getObject(SealedObject.java:355)
at javasoft.sqe.tests.api.javax.crypto.SealedObject.getObject4Tests.getObject4Tests0001(getObject4Tests.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
...
The following tests that threw exceptions causing a failure are:
api/javax_crypto/Cipher/index_doFinal1Tests
api/javax_crypto/Cipher/index_doFinal2Tests
api/javax_crypto/Cipher/index_doFinal3Tests
api/javax_crypto/Cipher/index_doFinal4Tests
api/javax_crypto/Cipher/index_init1Tests
api/javax_crypto/Cipher/index_init2Tests
api/javax_crypto/Cipher/index_update1Tests
api/javax_crypto/Cipher/index_update2Tests
api/javax_crypto/CipherInputStream/index2_read5
api/javax_crypto/CipherInputStream/index_read1Tests
api/javax_crypto/CipherInputStream/index_read2Tests
api/javax_crypto/CipherInputStream/index_read3Tests
api/javax_crypto/CipherOutputStream/index_flushTests
api/javax_crypto/CipherOutputStream/index_write1Tests
api/javax_crypto/CipherOutputStream/index_write2Tests
api/javax_crypto/CipherOutputStream/index_write3Tests
api/javax_crypto/SealedObject/index2_getObject4
api/javax_crypto/SealedObject/index_getObject1Tests
api/javax_crypto/SealedObject/index_getObject2Tests
api/javax_crypto/SealedObject/index_getObject3Tests
java.security.InvalidKeyException: Invalid pad value!
at javax.crypto.SealedObject.getObject(SealedObject.java:355)
at javasoft.sqe.tests.api.javax.crypto.SealedObject.getObject4Tests.getObject4Tests0001(getObject4Tests.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
...
The following tests that threw exceptions causing a failure are:
api/javax_crypto/Cipher/index_doFinal1Tests
api/javax_crypto/Cipher/index_doFinal2Tests
api/javax_crypto/Cipher/index_doFinal3Tests
api/javax_crypto/Cipher/index_doFinal4Tests
api/javax_crypto/Cipher/index_init1Tests
api/javax_crypto/Cipher/index_init2Tests
api/javax_crypto/Cipher/index_update1Tests
api/javax_crypto/Cipher/index_update2Tests
api/javax_crypto/CipherInputStream/index2_read5
api/javax_crypto/CipherInputStream/index_read1Tests
api/javax_crypto/CipherInputStream/index_read2Tests
api/javax_crypto/CipherInputStream/index_read3Tests
api/javax_crypto/CipherOutputStream/index_flushTests
api/javax_crypto/CipherOutputStream/index_write1Tests
api/javax_crypto/CipherOutputStream/index_write2Tests
api/javax_crypto/CipherOutputStream/index_write3Tests
api/javax_crypto/SealedObject/index2_getObject4
api/javax_crypto/SealedObject/index_getObject1Tests
api/javax_crypto/SealedObject/index_getObject2Tests
api/javax_crypto/SealedObject/index_getObject3Tests
- backported by
-
JDK-8065495 -Xcheck:jni changes cause many JCK failures in api/javax_crypto tests in SunPKCS11
-
- Resolved
-
-
JDK-8070046 -Xcheck:jni changes cause many JCK failures in api/javax_crypto tests in SunPKCS11
-
- Resolved
-
-
JDK-8084197 -Xcheck:jni changes cause many JCK failures in api/javax_crypto tests in SunPKCS11
-
- Resolved
-
-
JDK-8064378 -Xcheck:jni changes cause many JCK failures in api/javax_crypto tests in SunPKCS11
-
- Closed
-
-
JDK-8172822 -Xcheck:jni changes cause many JCK failures in api/javax_crypto tests in SunPKCS11
-
- Closed
-