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

sun/security/pkcs11/MessageDigest/TestCloning.java failed due to CloneNotSupportedException: SHA-256

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      Backports

        Description

        TESTFAIL:sun/security/pkcs11/MessageDigest/TestCloning.java

        sun/security/pkcs11/MessageDigest/TestCloning.java failed in solaris and solaris-sparc platfrom

        Error log:
        Testing SHA-256 of SunPKCS11-Solaris
        ----------System.err:(23/1192)----------
        java.lang.CloneNotSupportedException: SHA-256
        at sun.security.pkcs11.P11Digest.clone(P11Digest.java:316)
        at java.security.MessageDigest$Delegate.clone(MessageDigest.java:544)
        at TestCloning.testCloning(TestCloning.java:92)
        at TestCloning.main(TestCloning.java:65)
        at PKCS11Test.premain(PKCS11Test.java:81)
        at PKCS11Test.testDefault(PKCS11Test.java:142)
        at PKCS11Test.main(PKCS11Test.java:90)
        at TestCloning.main(TestCloning.java:43)
        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:484)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:759)
        at java.lang.Thread.run(Thread.java:745)
        Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_STATE_UNSAVEABLE
        at sun.security.pkcs11.wrapper.PKCS11.C_GetOperationState(Native Method)
        at sun.security.pkcs11.P11Digest.clone(P11Digest.java:311)
        ... 13 more

        JavaTest Message: Test threw exception: java.lang.CloneNotSupportedException
        JavaTest Message: shutting down test

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ascarpino Anthony Scarpino
                  Reporter:
                  zailiu Kevin Liu (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: