[jboss-osgi-issues] [JBoss JIRA] Resolved: (JBOSGI-346) Attached fragment hides private package in host

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Aug 13 07:04:51 EDT 2010


     [ https://jira.jboss.org/browse/JBOSGI-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler resolved JBOSGI-346.
-----------------------------------

    Fix Version/s: JBossOSGi 1.0.0 Beta9
       Resolution: Done


Running org.jboss.test.osgi.fragments.FragmentRuntimeTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 2.247 sec


> Attached fragment hides private package in host 
> ------------------------------------------------
>
>                 Key: JBOSGI-346
>                 URL: https://jira.jboss.org/browse/JBOSGI-346
>             Project: JBoss OSGi
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Core Framework
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: JBossOSGi 1.0.0 Beta9
>
>
> The bundle's local packages are considered after its imports. If an attached fragment imports a package, that package hides the bundle's local package with the same name.
>       // Bundle-SymbolicName: simple-hostA
>       // Private-Package: org.jboss.test.osgi.fragments.hostA, org.jboss.test.osgi.fragments.subA 
>       // Bundle-SymbolicName: simple-hostB
>       // Export-Package: org.jboss.test.osgi.fragments.subA
>       // Private-Package: org.jboss.test.osgi.fragments.hostB 
>       // Bundle-SymbolicName: simple-fragB
>       // Import-Package: org.jboss.test.osgi.fragments.subA
>       // Fragment-Host: simple-hostA
>       hostA.loadClass(subA) is expected to come from hostB

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list