Hi,

I would like to build a classLoader that permits to load classes without
delegating the class loading to the SystemClassLoader.

Seen from this point of view, I read the classes from the file system
(readClassFile method) and then I called the defineClass method as
following :


     byte [] data = readClassFile(name);
    
     if(data != null)
       {
        return defineClass(name,data, 0, data.length);
       }

I have the following message when I try to read the classes of the Java
API, but I have no problems to load and define my own classes.

Kaffe: classMethod.c:287: processClass: Assertion `(class ==
ObjectClass) || (class->superclass != ((void *)0))' failed.
Abandon



Best regards,

Nicolas

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to