You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Gjøran Voldengen (JIRA)" <ji...@apache.org> on 2018/10/05 15:34:00 UTC

[jira] [Commented] (FELIX-5800) Improve calculation of available system bundle exports

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

Gjøran Voldengen commented on FELIX-5800:
-----------------------------------------

Thanks, [~karlpauls]! It was just me not being up-to-date on the R7 spec. 

BTW, I noticed that the order of exported packages in the string returned by
{code}
framework.getHeaders().get(Constants.EXPORT_PACKAGE)
{code}
changes for each invocation to the JVM with the exact same JVM args. It's probably not an issue unless you like to examine the set of packages visually, e.g. when debugging. Or, if you have unit tests that compare strings from different JVM invocations (like we had). 

> Improve calculation of available system bundle exports
> ------------------------------------------------------
>
>                 Key: FELIX-5800
>                 URL: https://issues.apache.org/jira/browse/FELIX-5800
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-5.6.10
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>            Priority: Major
>             Fix For: framework-6.0.0
>
>
> We already added some support for dynamically calculating available exports in 5.6.10 and FELIX-5792 calculated available java.* exports. However, we currently rely on a set of static definitions for anything except java.*. We should be able to improve what we have by dynamically calculating for anything else where we don't have a static definition.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)