EC key getEncoded() error

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 8
    • Component/s: security-libs
    • Environment:

      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();
              }
          }
      }

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

              Created:
              Updated:
              Resolved: