This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: java vs ia64 abi exceptions
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: java vs ia64 abi exceptions
- From: Tom Tromey <tromey at redhat dot com>
- Date: 22 Mar 2001 10:14:47 -0700
- Cc: Richard Henderson <rth at redhat dot com>, Andrew Haley <aph at redhat dot com>, java at gcc dot gnu dot org
- References: <20010321174200.A4702@redhat.com> <3AB97026.C4393CC8@albatross.co.nz>
- Reply-To: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
Bryce> It would also be desirable for Java exceptions thrown from Java
Bryce> to be able to be caught in C++.
This is a requirement -- parts of the runtime depend on this.
For instance, JNI does. So does class initialization.
In the past we had a special hack in g++ that would let us use
Java-style catches in C++. This was determined on a per-file basis --
if you used a Java-style catch in a file you could never use a
C++-style catch.
I don't know whether the new implementation affects this.
Tom