A README on the Sun website is not authoritative. An approved Final
Specification from the JCP would be.

Anyway, the general problem is that even if you find isolated examples of
apparently reliable information for individual packages, there are a lot
more packages in the JRE that remain undocumented.

Ironically, each time Sun added an API to the JRE, it became *harder* to use
reliably. <sigh>

Regards,
Neil

On Wed, Aug 25, 2010 at 4:57 PM, Andrea Zoppello <[email protected]>wrote:

>  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* <http://www.osgi.org/>*
> **[email protected]* <[email protected]>
>
> office: +1 386 848 1781
> mobile: +1 386 848 3788
>
>
>
>
>
>
> From:        Andrea Zoppello <[email protected]> <[email protected]>
> To:        OSGi - Dev <[email protected]> <[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 
> [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

Reply via email to