harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [vmi] JNI spec interpretation?
Date Wed, 05 Apr 2006 14:15:26 GMT
Understood -- my point is that "blowing up" and "corrupting internal
data structures" is not something you would do by design.

So what does SableVM do if I call ExceptionDescribe() with no pending

I changed the launcher because I agree that JNI code shouldn't
misbehave, but making SableVM tolerant is good too for those cases where
the fix is not under our control etc.


Etienne Gagnon wrote:
> 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?


Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message