dev@glassfish.java.net

Re: broken Felix classloader?

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Tue, 21 Apr 2009 21:48:02 -0700

Richard S. Hall wrote:
> Lloyd,
>
> A bundle is only given implicit access to classes in java.* packages.
> All other packages must be imported. This includes javax.* packages. The
> reason is because javax packages are extensions. It is possible for them
> not to be there or for bundles to container newer versions. This would
> not be the case for java.* packages, which must be loaded by the boot
> class loader.

That's not correct.

Components of the JDK must always be available.

There's a small list of packages for which applications are allowed
to provide newer versions.