[kaffe] weird GC error with bad class format
Timothy Stack
stack at cs.utah.edu
Tue Feb 4 09:36:01 PST 2003
>
> Hi Tim and Dalibor.
hi,
> > Are you using the current CVS?
>
> i just downloaded a fresh copy of the current CVS, applied the patch Tim
> posted and then made the change in readAttributes (readClass.c) that i
> suggested earlier which is simply to add this case into the list of cases:
>
> else if (!strcmp(name->data, "Signature") {
> return false;
> }
Oh, forgot... Since you're returning false its expecting an error
message in 'einfo'. For example:
postExceptionMessage(einfo,
JAVA_LANG(ClassFormatError),
"(class: %s) ...",
CLASS_CNAME(this));
otherwise, you get this error:
> Exception thrown on null object ... aborting
> Aborted
> cheers,
> ~rob
tim
More information about the kaffe
mailing list