Hi, My name is not Ben. Not sure where you got that from.
We really need to JRE to document what it contains. Coming from the other side (the individual JSR) does not matter (also, the reference you cite is for Java Mail not JAF so it is a 3rd party). For example, there is nothing to stop then next update of Java 6 to include version 1.1.2 or some other version. -- 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: [email protected] Date: 2010/08/25 12:03 Subject: Re: [osgi-dev] Which version should use the system bundle when exporting javax packages??? Sent by: [email protected] Hi Ben, I've made further investigation and found that "README" file: http://java.sun.com/products/javamail/README.txt where the version of activation is well documented: While JavaMail will work with JAF 1.0.2, we recommend the use of JAF 1.1 or newer. JAF 1.1.1 is currently the newest version. Note that JAF 1.1 is included in JDK 1.6 and JAF 1.1.1 is included in JDK 1.6.0_10 and later. Now the link above is from sun, so ( at least from my point of view ) i consider the information provided as "authoritative". Andrea Il 25/08/2010 16:34, BJ Hargrave ha scritto: 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 _______________________________________________ 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
