This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New GCJ manual


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]