[FIXED] garbage in error message
Robert Zawiasa
bozo at bibl.u-szeged.hu
Mon Feb 22 03:52:38 PST 1999
hi all,
a tiny patch: if Klasses.jar is not in the CLASSPATH, the error message
claiming the missing essential classes contains garbage, well, it does not
hurt, but theoretically incorrect/ugly ;)
see the attachment..
-------------- next part --------------
diff -urN kaffe/kaffe/kaffevm/findInJar.c kaffe-patched/kaffe/kaffevm/findInJar.c
--- kaffe/kaffe/kaffevm/findInJar.c Wed Feb 17 21:52:29 1999
+++ kaffe-patched/kaffe/kaffevm/findInJar.c Mon Feb 22 11:57:17 1999
@@ -232,6 +232,7 @@
}
}
/* If we call out the loop then we didn't find anything */
+ SET_IO_EXCEPTION_MESSAGE(einfo, IOException, "failed to locate class");
hand.type = CP_INVALID;
/* cut off the ".class" suffix for the exception msg */
cname[strlen(cname) - strlen(".class")] = '\0';
More information about the kaffe
mailing list