]
Thomas Diesler resolved JBOSGI-346.
-----------------------------------
Resolution: Won't Fix
Fix Version/s: (was: JBossOSGi 1.0.x)
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
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: