[kaffe] [patch] Class.forName rewrite

Dalibor Topic robilad at yahoo.com
Sun Jun 2 17:31:18 PDT 2002


Hi,

the atached patch does two things: It replaces the
native
Class.forName method by a java implementation, with
the fall-out from
the C version being heopfully included in the right
places, and it
encapsulates the lookup of the class loader of the
calling clas using
stack inspection into its own small class, hiding away
the ugly
details.

Since this patch touches very sensitive parts of the
class library, it
would be nice if you could test it, and tell me if it
breaks.

Performance should be equivalent to the former
version. Tested on i686
linux using jit3.

cheers,

dalibor topic


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog
Type: application/octet-stream
Size: 989 bytes
Desc: ChangeLog
Url : http://kaffe.org/pipermail/kaffe/attachments/20020602/e09a7f8b/attachment-0006.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 16864 bytes
Desc: patch.diff
Url : http://kaffe.org/pipermail/kaffe/attachments/20020602/e09a7f8b/attachment-0007.obj 


More information about the kaffe mailing list