classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Unstructured locking bug


From: David Holmes
Subject: RE: Unstructured locking bug
Date: Tue, 15 Mar 2005 09:22:17 +1000

Etienne wrote:
> Here's what the JNI spec says about it:
>
>   MonitorExit
>
>   Prototype jint MonitorExit(JNIEnv *env, jobject obj);
>
>   ...
>
>   Native code must not use MonitorExit to exit a monitor entered through
>   a synchronized method or a monitorenter Java virtual machine
>   instruction.

Well that is what is in the JNI book. Unfortunately the actual JNI
specification does not include that paragraph. It *should* in my view, but
it doesn't.

David Holmes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]