[kaffe] Updated patch...

Dalibor Topic robilad@yahoo.com
Fri, 10 May 2002 11:39:24 -0700 (PDT)


--- Godmar Back <gback@cs.utah.edu> wrote:
> 
>  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));
>

I applied the patch as it was. If I've understood
Godmar properly I shall be looking forward to a one
liner fix removing the FIXME?

dalibor topic

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com