This is the mail archive of the kawa@sourceware.cygnus.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Changing classpath whilst Kawa runs


>>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]