[kaffe] Updated patch...

Godmar Back gback at cs.utah.edu
Wed May 8 08:25:58 PDT 2002


 Jukka, about the patch below:

The "FIXME" was referring to the fact that instead of SignalError,
postExceptionMessage() followed by throwError() should be used
and the name of the missing field should be reported.

	- Godmar

-       SignalError("java.lang.NoSuchFieldException", ""); /* FIXME */
+       /* like SignalError, except that the name of the field that is
+        * not found becomes the error message
+        */
+       throwException((struct Hjava_lang_Throwable*)execute_java_constructor(
+               "java.lang.NoSuchFieldException", 0, 0,
+               "(Ljava/lang/String;)V", name));






More information about the kaffe mailing list