[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gthread-jni-error-handling.patch
From: |
C. Brian Jones |
Subject: |
Re: gthread-jni-error-handling.patch |
Date: |
Fri, 16 Jul 2004 18:25:33 -0400 |
On Fri, 2004-07-16 at 13:34, Steven Augart wrote:
This patch only modifies gthread-jni.c, the portable-native-sync
support.
1) Improves error reporting from the NEW_TROUBLE macro
2) Fixes an incorrect assumption -- EnterMonitor and ExitMonitor do
not normally throw exceptions (although they might in Jikes RVM --
this may or may not be a violation of the spec; I'm not sure.)
Steven,
The previous code and the new code both rely on the return value to
determine an error condition. It's not defined whether or not a JVM
will also raise an exception for a failure here, but I think it is
allowed/possible for any JNI call to do so.
Brian
--
Brian Jones <address@hidden>