[
https://jira.jboss.org/browse/JBOSGI-346?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler updated JBOSGI-346:
----------------------------------
Fix Version/s: JBossOSGi 1.0.x
(was: JBossOSGi 1.0.0 Beta8)
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.x
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