[kaffe] verifier and threads
Helmer Krämer
hkraemer at freenet.de
Tue Jan 21 01:40:02 PST 2003
On Mon, 20 Jan 2003 11:34:31 -0500 (EST)
gonzo <Robert.N.Gonzalez at williams.edu> wrote:
Hi Rob,
> > > my other bug is also weird. in Verify3, if you:
> > > postExceptionMessage(einfo, JAVA_LANG(VerifyError), MSG);
> > > when the error's thrown it yields a ClassNotFoundException and not a
> > > VerifyError (though MSG is retained). however, ClassFormatError is found
> > > easily. i can't seem to figure out why this is.
> > >
> > > to reproduce this, simply post a VerifyError in verify2() or verify3().
> >
> > [ changes to verify.c and some stacktraces ]
seems like I tracked this one down. The problem was that
Class.forName () catched the VerifyError and threw a
ClassNotFoundException instead. I've attached a pretty
simple patch that should fix this.
Greetings,
Helmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.patch
Type: application/octet-stream
Size: 1229 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030121/f1ab7178/attachment-0003.obj
More information about the kaffe
mailing list