_Jv_AttachCurrentThread vs unhandled exceptions

Tom Tromey tromey@redhat.com
Fri Aug 3 16:21:00 GMT 2001


>>>>> "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



More information about the Java mailing list