hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lemay (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1563) HttpClient OSGi bundle is missing some javax.naming package imports
Date Wed, 08 Oct 2014 18:29:33 GMT
Jason Lemay created HTTPCLIENT-1563:
---------------------------------------

             Summary: HttpClient OSGi bundle is missing some javax.naming package imports
                 Key: HTTPCLIENT-1563
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1563
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.3.5
            Reporter: Jason Lemay


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.

{code}
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;
{code}

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

{code}
javax.naming.directory
javax.naming.ldap
{code}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message