Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2, 1.3
-
Fix Version/s: 1.3
-
Component/s: None
-
Labels:None
-
Environment:java 6 + OSGi container (such as Felix)
-
Number of attachments :
Description
I obtained the jackson 1.2.0 jar files from the codehaus maven repository and attempted to install and start them from an OSGi container. I observed the following:
1. Install and start jackson-core-asl-1.2.0.jar, jackson-mapper-asl-1.2.0.jar, and jackson-xc-1.2.0.jar into a current OSGi container, such as felix.
2. The jackson-core-asl-1.2.0.jar and jackson-mapper-asl-1.2.0.jar bundles install and start with no issues.
3. The jackson-xc-1.2.0.jar bundle installs, but it won't start due to the fact that it has a package import dependency on org.codehaus.jackson.map.introspect.
The Import-Package header in the manifest.mf file of jackson-xc-1.2.0.jar includes org.codehaus.jackson.map.introspect. Looking at the jackson-mapper-asl-1.2.0.jar manifest.mf file, I see that the org.codehaus.jackson.map.introspect package is not exported, but it is in the Private-Package header.
Thanks for reporting this. I had tested loading and starting of Jackson bundles earlier, but probably not after latest refactoring.
I wonder if there might be a way to have an ant task to test these. At any rate, I'll fix this issue.