This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
Re: Changing classpath whilst Kawa runs
- To: kawa at sourceware dot cygnus dot com
- Subject: Re: Changing classpath whilst Kawa runs
- From: "Nic Ferrier" <nferrier at tapsellferrier dot co dot uk>
- Date: Mon, 06 Mar 2000 04:43:11 +0000
>>> Luke Gorrie <luke@bluetail.com> 29-Feb-00 1:23:20 PM >>>
>I believe that this property is provided FYI, and (as with other
>properties such as user.dir) doesn't have the direct effect you
might
>expect. You'll want to have a separate ClassLoader that's under
your
>control to handle this, eg. a subclass of java.net.URLClassLoader
with
>an 'addURL' method or something like that.
You're right Luke.
I had never actually tried it but had always presumed that the
standard ClassLoader would look at the System properties - otherwise
why provide the set() method?
I think this would be quite a nice tool to have with Kawa - does
anyone else think so?
Does Per think so?
If so I'm quite happy to add it - should be quite easy to add a new
ClassLoader to do this and have Kawa use that ClassLoader instead of
the default.
But if people aren't interested then I won't bother doing it (don't
want to maintain a fork).
Nic