tbitonti / jakartaee-prototype

Other
0 stars 9 forks source link

Bundle Identity Conversion #46

Closed volosied closed 4 years ago

volosied commented 4 years ago

When we change symbolic name (ie, identity) of the bundles:

Bundle-SymbolicName: com.ibm.ws.session
-> Bundle-SymbolicName: com.ibm.ws.session.jakarta

This also changes the Export-Packages Attribute:

Export-Package: com.ibm.websphere.servlet.session;version="1.1.0";uses :="javax.servlet.http",com.ibm.ws.session;version="2.0.0";

->

Export-Package: com.ibm.websphere.servlet.session;version="1.1.0";uses :="jakarta.servlet.http",com.ibm.ws.session.jakarta;version="null";

I don't believe this should occur. Package structure would also need to change, and then we should run into an issue of changing versions between Export Packages and Import Packages. (version within Export Packages must not be in a range, but we likely do want to give versions a range in Import-Packages).

volosied commented 4 years ago

This may not be a bug after all. I think it was just my rules causing this behavior. Sorry for any trouble