felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FELIX-736) Resolver does not correctly discard export when module imports the same package
Date Wed, 24 Sep 2008 22:07:44 GMT

     [ https://issues.apache.org/jira/browse/FELIX-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Richard S. Hall closed FELIX-736.

    Resolution: Fixed

I have applied a patch to address this issue so I will close it, but there is still a related
issue for which I will open a new issue.

> Resolver does not correctly discard export when module imports the same package
> -------------------------------------------------------------------------------
>                 Key: FELIX-736
>                 URL: https://issues.apache.org/jira/browse/FELIX-736
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.2.1

>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: felix-1.2.2
> If a module both imports and exports the same package, this means the resolver has a
choice to honor either the export or the import of the package. In the case where the resolve
decides to honor the import, then the module's export for that same package is effectively
discarded. Unfortunately, the resolver was not actually discarding the export in this case,
so it is possible that another module might be wired to the effectively discarded export,
even though the exporting module is importing the package from another provider. This results
in some form of a re-export of the package, which is not spec compliant. We need to modify
the resolver to check for this case.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message