Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6682497

JSN security jce tests jce/CCC/4844847/CipherTest and jce/Bugs/4921443 fail

      Two jce tests failed with jdk 7 , it can pass with jdk 7 b24.

      ==> jce/CCC/4844847/CipherTest

      java.lang.ArrayIndexOutOfBoundsException: -1
      at sun.security.pkcs11.P11Cipher$PKCS5Padding.unpad(P11Cipher.java:99)
      at sun.security.pkcs11.P11Cipher.implDoFinal(P11Cipher.java:784)
      at sun.security.pkcs11.P11Cipher.engineDoFinal(P11Cipher.java:505)
      at javax.crypto.Cipher.doFinal(DashoA13*..)
      at ByteBufferTest.decryptData(ByteBufferTest.java:177)
      at BufferCipherTest.runByteBufferCipherTest(BufferCipherTest.java:114)
      at BufferCipherTest.main(BufferCipherTest.java:241)

      ==> jce/Bugs/4921443

      javax.crypto.ShortBufferException
      at sun.security.pkcs11.P11Cipher.implUpdate(P11Cipher.java:512)
      at sun.security.pkcs11.P11Cipher.engineUpdate(P11Cipher.java:463)
      at sun.security.pkcs11.P11Cipher.engineDoFinal(P11Cipher.java:492)
      at javax.crypto.Cipher.doFinal(DashoA13*..)
      at TestCipher.runTest(TestCipher.java:159)
      at TestCipher.run(TestCipher.java:73)
      at TestCipher.main(TestCipher.java:53)

      More details at :
      http://sqeweb.sfbay/net/sqenfs-1/export1/comp/jsn/keep_forbug/results-bayer-08-03-31-00-30/results/mg145366.SunOS.sparc/

            valeriep Valerie Peng
            jgaosunw Judy Gao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: