[
https://issues.apache.org/jira/browse/FELIX-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082378#comment-13082378
]
Marko Friedemann commented on FELIX-3059:
-----------------------------------------
After testing this again, there's even more to it.
If I simply put the 4 bundles (A to D) into the /bundle directory of the
felix-framework installation, it fails to start as outlined due to not finding
class a.One.
That is after calling the Activators for bundles A, B and C, in that order.
If, however, I force a reverse load order by naming the files 4_A*, 3_B*, 2_C*
and 1_D* (* would be "-$version.jar" here), then suddenly it DOES find a.One
and completes the activation of bundle D.
Ie, it will start activating D (works), then C, then B and lastly A (and cleaup
in the reverse order).
Although, if I then use the console to refresh D at a later point, it will
again FAIL to load a.One.
Very strange but I do not currently have the time to debug this.
> Require-Bundle w/ visibility:=reexport not transitive
> -----------------------------------------------------
>
> Key: FELIX-3059
> URL: https://issues.apache.org/jira/browse/FELIX-3059
> Project: Felix
> Issue Type: Bug
> Components: Framework
> Affects Versions: framework-3.2.2
> Environment: Windows XP, JavaSE-1.6, Eclipse 3.6 Helios
> Reporter: Marko Friedemann
> Fix For: framework-4.0.0
>
> Attachments: reexport-example.zip
>
>
> As described in
> http://www.mail-archive.com/[email protected]/msg10677.html [1],
> Require-Bundle with visibility:=reexport does not work transitively in Felix
> 3.2.2 (cannot comment wrt. other versions, only tested this one).
> Similar issue with Felix M2 plugin described in
> http://www.mail-archive.com/[email protected]/msg02622.html.
> See attached zip for an example consisting of 4 bundles as described in [1].
> Example works in Equinox, fails to load a.One in Felix 3.2.2.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira