SECTION: Changes

M webclient/classes_spec/org/mozilla/webclient/impl/WrapperFactory.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/WrapperFactoryImpl.java
M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/NativeEventThread.java

- get rid of the wait/notifyAll in favor of using the CountDownLatch()

M webclient/classes_spec/org/mozilla/webclient/impl/wrapper_native/CocoaAppKitThreadDelegatingNativeEventThread.java

- When running code on the AppKit thread, log exceptions before rethowing.

M webclient/src_moz/cocoa/CocoaBrowserControlCanvas.mm
M webclient/src_share/jni_util.cpp

- Make exception error messages more descriptive.


git-svn-id: svn://10.0.0.236/trunk@227837 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2007-06-12 01:16:09 +00:00
parent 1a4b053157
commit 7a43081a8c
6 changed files with 57 additions and 27 deletions

View File

@@ -404,6 +404,7 @@ void util_ThrowExceptionToJava (JNIEnv * env, const char * exceptionClass,
const char * message)
{
if (env->ExceptionOccurred()) {
env->ExceptionDescribe();
env->ExceptionClear();
}
jclass excCls = env->FindClass(exceptionClass);