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

EC key getEncoded() error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 8
    • security-libs
    • SunOS 5.10 (sparc)

      sun/security/tools/jarsigner/ec.sh

      sometime fail in TL nightly, seems only on 5.10 sparc.

      Here's one simple case that can reproduce such failure:

      import java.security.KeyPairGenerator;

      public class A1 {
          public static void main(String[] args) throws Exception {
              for (int i=0; i<1000; i++) {
                  KeyPairGenerator k = KeyPairGenerator.getInstance("EC");
                  k.initialize(521);
                  k.genKeyPair().getPublic().getEncoded();
              }
          }
      }

            vinnie Vincent Ryan
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: