[ 
https://issues.apache.org/jira/browse/FELIX-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13082535#comment-13082535
 ] 

Richard S. Hall commented on FELIX-3059:
----------------------------------------

BTW, I had noted another reexport visibility issue in my framework refactoring 
last month and it actually seems to be related to this issue. I'm trying to 
clean up remaining issues so I can do a framework release, so I decided to 
investigate your issue and this other issue today. As I say above, your issue 
appears to be addressed since I completely changed the way we are calculating 
visible packages.

The other issue was related to verifying class space consistency for a bundle. 
Turns out it was not doing the correct calculation for reexported packages. 
This error was actually the cause of your error in 3.2.2. In the old version, 
the calculation for visible packages was done using this erroneous reexport 
calculation, but now in trunk I actually calculate visible packages separately 
from how I verify them. So, even though I fixed the issue for visibility, it's 
not yet fixed for verification purposes.

I think I have a fix for verification that I'll commit shortly...I'll just 
commit it against this issue since it was the root cause of the issue for 
3.2.2. So, it looks like we should be able to close this as fixed after I 
commit.

> 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/users@felix.apache.org/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/felix-dev@incubator.apache.org/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

        

Reply via email to