jira-importer opened a new issue, #1325:
URL: https://github.com/apache/httpcomponents-core/issues/1325

   **[Willem 
Jiang](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=njiang)** 
opened 
**[HTTPCORE-222](https://issues.apache.org/jira/browse/HTTPCORE-222?redirect=false)**
 and commented
   
   Current http-core-osgi OSGi META-INF has these import package,
   
   ```
   Import-Package: javax.net.ssl,org.apache.http;version="4.1",org.apache
    .http.entity;version="4.1",org.apache.http.impl;version="4.1",org.apa
    che.http.impl.entity;version="4.1",org.apache.http.impl.io;version="4
    .1",org.apache.http.impl.nio;version="4.1",org.apache.http.impl.nio.c
    odecs;version="4.1",org.apache.http.impl.nio.reactor;version="4.1",or
    g.apache.http.impl.nio.ssl;version="4.1",org.apache.http.io;version="
    4.1",org.apache.http.message;version="4.1",org.apache.http.nio;versio
    n="4.1",org.apache.http.nio.entity;version="4.1",org.apache.http.nio.
    params;version="4.1",org.apache.http.nio.protocol;version="4.1",org.a
    pache.http.nio.reactor;version="4.1",org.apache.http.nio.util;version
    ="4.1",org.apache.http.params;version="4.1",org.apache.http.protocol;
    version="4.1",org.apache.http.util;version="4.1"
   ```
   
   when you install the bundle, the OSGi container will complain the error about
   " can't resolve the package xxx".
   If there is a http-core-osgi 4.1 bundle installed in the OSGI container,
   some strange error will happen, as the bundle didn't import itself.
   So we need to avoid the bundle import itself, and it's important to support
   install the multi-version of http-core-osgi.
   
   
   
   ---
   
   **Attachments:**
   - 
[httpcore-osgi.patch](https://issues.apache.org/jira/secure/attachment/12439019/httpcore-osgi.patch)
 (_673 bytes_)
   
   **Issue Links:**
   - [POOL-160](https://issues.apache.org/jira/browse/POOL-160) OSGi 
Export-Package statement is not correct
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to