Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.9.0, 3.10.0
-
None
-
Unknown
Description
Hello,
feature camel-dozer uses both these bundles:
<bundle dependency="true">mvn:javax.el/javax.el-api/3.0.0</bundle><bundle dependency="true">mvn:org.glassfish/javax.el/3.0.0</bundle>
These bundles both export same packages:
javax.el javax.el.*
And leads to javax.el-api restart whenever we start/stop the feature (and therefore can lead to many other features/bundles depending on this bundle/packages).
One fix would be to override headers of glassfish so it exports only com.sun.el.* packages?
<bundle dependency='true'>wrap:mvn:org.glassfish/javax.el/3.0.0$overwrite=merge&Export-Package=com.sun.el;version=3.0.0,com.sun.el.*;version=3.0.0</bundle>
or the inverse, don't export javax.el.*
<bundle dependency='true'>wrap:mvn:org.glassfish/javax.el/3.0.0$overwrite=merge&Export-Package=!javax.el,!javax.el.*,*</bundle>