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

Remove @throws IOException from X509CRLImpl::getExtension docs

XMLWordPrintable

      In class sun.security.x509.X509CRLImpl, method getExtension(ObjectIdentifier) doesn't declare that IOException would be thrown, so the @throws IOException doc should be removed.

          /**
           * get an extension
           *
           * @param oid ObjectIdentifier of extension desired
           * @return Object of type {@code <extension>} or null, if not found
           * @throws IOException on error
           */
          public Object getExtension(ObjectIdentifier oid) {
              if (extensions == null)
                  return null;

              // XXX Consider cloning this
              return extensions.get(OIDMap.getName(oid));
          }

            jjiang John Jiang
            jjiang John Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: