[kaffe] Updated patch...
Godmar Back
gback@stanford.edu
Wed, 8 May 2002 09:25:58 -0600 (MDT)
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));