java vs ia64 abi exceptions
Bryce McKinlay
bryce@albatross.co.nz
Wed Mar 21 19:12:00 GMT 2001
Richard Henderson wrote:
> There does not appear to be any way to do catch-all except
> catch(Throwable), which isn't going to interoperate with
> exceptions generated by other languages. If interoperability
> were desired (apart from finally) we'd need to get either the
> compiler or the runtime to call _Unwind_DeleteException when
> the catch handler is complete. I don't plan on doing that
> right away.
As far as interoperability goes, we definatly need to be able to throw
Java exceptions from C++ (this works already). It would also be
desirable for Java exceptions thrown from Java to be able to be caught
in C++.
Java doesn't want to know about exceptions that don't extend
Throwable, but I guess non-java exceptions thrown from C++ should be
able to pass through Java frames and be caught in C++, and in that
case Java "finally" semantics should probibly be preserved. It seems
unlikely that much real-world code will actually care about this,
though ;-)
regards
[ bryce ]
More information about the Java
mailing list