Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1563

HttpClient OSGi bundle is missing some javax.naming package imports

    XMLWordPrintableJSON

Details

    Description

      A bug was created to resolve the missing javax.naming package import (HTTPCLIENT-1547), but the httpclient imports more than just javax.naming.

      The class org.apache.http.conn.ssl.AbstractVerifier.java imports the following javax.naming classes.

      import javax.naming.InvalidNameException;
      import javax.naming.NamingException;
      import javax.naming.directory.Attribute;
      import javax.naming.directory.Attributes;
      import javax.naming.ldap.LdapName;
      import javax.naming.ldap.Rdn;
      

      To resolve these other packages the OSGi pom needs the following package imports added to it.

      javax.naming.directory
      javax.naming.ldap
      

      In addition to the javax.naming import already added in HTTPCLIENT-1547

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jasonl Jason Lemay
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: