New GCJ manual
Per Bothner
per@bothner.com
Mon Jan 28 23:49:00 GMT 2002
Tom Tromey wrote:
> Nic> "Note that currently you cannot mix C++ catches and Java catches in
> Nic> a single C++ translation unit. We do intend to fix this eventually."
> Nic> Is this true? Have we already fixed it?
>
> We haven't, and in fact my current understanding is that it is
> unfixable.
My guess is it would be fixable if we made sure to general C++ type_info
objets for Java class. Then you'd basically use the C++ representation
for the exception handler tables. Testing that the thrown exception
matches te handler can then be done either at the C++ rtti level, or by
some callback hook that gcj installs.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
More information about the Java-patches
mailing list