This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: _Jv_AttachCurrentThread vs unhandled exceptions
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Subject: Re: _Jv_AttachCurrentThread vs unhandled exceptions
- From: Tom Tromey <tromey at redhat dot com>
- Date: 03 Aug 2001 17:50:38 -0600
- Cc: java at gcc dot gnu dot org
- References: <3B6A3E0E.8C47AEA9@waitaki.otago.ac.nz>
- Reply-To: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
Bryce> What is the JDKs behaviour if some native code invokes the VM
Bryce> but a Java call throws an unhandled exception?
It wouldn't be too hard to write a test to find out.
For the CNI case, I think we can just add constraints. As long as
they are reasonable and we document them, that is fine. For instance,
if you use the CNI invocation API it would be reasonable to require an
explicit try/catch.
Tom