This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: java vs ia64 abi exceptions
On Thu, Mar 22, 2001 at 10:14:47AM -0700, Tom Tromey wrote:
> 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.
Nope. The hack will be preserved.
I'll be interesting to see what happens here -- the way I'm
handling this is to install the gcj personality instead of
the g++ personality. Which, in addition to affecting how
catch happens, also affects calling terminate if a cleanup
throws, and handling exception specifications. I'm assuming
for the moment that the java runtime doesn't make much
(accidental) use of these.
r~