This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: FYI: JNI and synchronized native




On 12 Dec 2001, Tom Tromey wrote:
> +
> +  if (sync != NULL)
> +    _Jv_MonitorExit (sync);

I don't see a cleanup here.  What happens to the monitor if an exception
is thrown from the called function?

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]