This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: ClassLoader.findLoadedClass (was: ServiceFactory)


Yes, I agree (but see my comment below). Iin fact, I suggested moving findLoadedClass to the VMClassLoader in my last post. The next release of JamVM, which should be out tonight, will have this. This means releasing a modified ClassLoader as a "VM class" but it'll be a while before this makes it into the next release of Classpath.

Thanks,

Rob.

----Original Message Follows----
From: "David Holmes" <dholmes@dltech.com.au>

...

VMClassLoader can define a default mechanism using hashtables or just leave
things native.


A pure Java "reference" implementation won't work. At the Java level VMClassLoader can only keep track of classes defined by a loader (when it calls VMClassLoader.defineClass). A call back will be needed so that the VM can record a loader as an initiating loader for a class.


Or in simple words: move the lookup table out of ClassLoader into
VMClassLoader.


David Holmes

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger



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