[fedora-java] tomcat5

Tom Tromey tromey at redhat.com
Wed Mar 9 18:34:32 UTC 2005


>>>>> "Tom" == Thomas Fitzsimmons <fitzsim at redhat.com> writes:

Tom> I've been seeing that message too.  First of all, why does the urls
Tom> field of VMClassLoader not print *all* jars in the extensions directory?

I looked into this.  The problem is, URLClassLoader caches the
toString() result but does not reset it when a new URL is added.
Whoops.

All the jars definitely do end up in there though, at least in my
simple test.

Tom> We either need to change the JPackage standard to point
Tom> to /usr/share/java/ext or we need to hard-code /usr/share/java-ext
Tom> and /usr/lib/java-ext into libgcj as extensions directories.

We can easily add a configuration option for this.  If we only need
one directory we could just have our RPM install a symlink (the
compiled-in extdir is not created by the gcc install process).

Tom




More information about the java-devel mailing list