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. [...] Etienne 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/
signature.asc
Description: OpenPGP digital signature
