harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Etienne Gagnon <egag...@sablevm.org>
Subject Re: [vmi] JNI spec interpretation?
Date Wed, 05 Apr 2006 11:45:50 GMT
By specification, the general contract for misbehavior of JNI code is
"undefined VM behavior", which can mean anything from "blow up" to
"corrupt internal data structures":

 11.8.1 No Checking for Programming Errors

 The JNI functions do not check for programming errors. Passing illegal
 arguments to JNI functions results in undefined behavior. [...]


Tim Ellison wrote:
> So what should a VM do if somebody calls ExceptionDescribe() and there
> is no pending exception?

Etienne M. Gagnon, Ph.D.            http://www.info2.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/

View raw message