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

Test sun/security/pkcs11/ec/TestECGenSpec.java fails on Ubuntu 15.10

    Details

      Description

      sun/security/pkcs11/ec/TestECGenSpec.java test fails on Ubuntu 15.10 with the following exception:

      java.security.InvalidAlgorithmParameterException: EC key must be at least 256 bits
      at sun.security.pkcs11.P11KeyPairGenerator.checkKeySize(P11KeyPairGenerator.java:230)
      at sun.security.pkcs11.P11KeyPairGenerator.initialize(P11KeyPairGenerator.java:216)
      at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:667)
      at java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:411)
      at TestECGenSpec.main(TestECGenSpec.java:84)
      at PKCS11Test.premain(PKCS11Test.java:86)
      at PKCS11Test.testNSS(PKCS11Test.java:401)
      at PKCS11Test.main(PKCS11Test.java:96)
      at TestECGenSpec.main(TestECGenSpec.java:41)
      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:497)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bgopularam Bhanu Prakash Gopularam (Inactive)
                Reporter:
                vagarwal Vikrant Agarwal
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: