Tim wrote:
> What about using local labels in END_EXCEPTION_HANDLING?

Ah! That's probably exactly what is needed.  I was hoping there was
some GCC way of handling this.

I think this will also address some concerns in some of the comments
in jni.c that the current mechanism covers all exceptions, when it
should only cover exceptions that occur between the BEGIN/END pair.

> http://gcc.gnu.org/onlinedocs/gcc/Local-Labels.html#Local%20Labels
> http://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html#Labels%20as%20Values

Excellent.

-Pat

----- ----- ---- ---  ---  --   -    -      -         -               -
Pat Tullmann                                       [EMAIL PROTECTED]
 Indifference may cause the downfall of mankind, but who really cares?

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to