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

PKCS12Attribute throws StringIndexOutOfBoundsException for value represented by empty string

XMLWordPrintable

      At call 'new PKCS12Attribute(name, "");'

      Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
      at java.lang.String.charAt(String.java:650)
      at java.security.PKCS12Attribute.<init>(PKCS12Attribute.java:88)

      Please specify this behavior, if it is not a bug.

            vinnie Vincent Ryan
            tledkov Taras Ledkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: