There is no authoritative list of the packages and their versions for each JRE. So each framework implementation (e.g. Equinox) makes their best effort to define a package list for each JRE. However, the version number for each package in a JRE is unknown. You say javax.activation is 1.1.1 in Java 6. Where is that authoritatively documented?
In any case, there is nothing the OSGi specifications can say on this until there exists some authoritative package list for each JRE. You may want to take this question to the framework impl's mail list if you want to discuss the specific information the framework impl is using for the packages exported from the JRE. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance [email protected] office: +1 386 848 1781 mobile: +1 386 848 3788 From: Andrea Zoppello <[email protected]> To: OSGi - Dev <[email protected]> Date: 2010/08/25 10:19 Subject: [osgi-dev] Which version should use the system bundle when exporting javax packages??? Sent by: [email protected] Hi all, I've a doubt on the way the "system bundle" export some package and the version used. In particular i'm using JDK1.6 ( With equinox ) and when i start the OSGi container and from console i raise a "packages javax.activation" it seems that the system bundle is exposing the "javax.activation" package with version "0.0.0". Now my doubt arise because if i'm not wrong, the activation packages of the JDK 1.6 should be the 1.1.1 version of the JAF framework. So the question is: Is correct that the system bundle export the "javax.activation" package with version "0.0.0" or it should use the version "1.1.1"??? My problem is that in my system i've bundles importing the javax.activation using the following directive: javax.activation;version="[1.1.1,2.0.0)" and that bundle were not resolved. Andrea _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
