summaryrefslogtreecommitdiff
path: root/jvmaccess
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2003-09-04 10:40:56 +0000
committerOliver Bolte <obo@openoffice.org>2003-09-04 10:40:56 +0000
commitc8f7dcada497e97d24a5446ed07dffdbcd842a03 (patch)
tree8171d7e9eac438275312bc5c0252b317aa6f0801 /jvmaccess
parent23ac0a51d8792757217b289efbd6cdf8f700396b (diff)
INTEGRATION: CWS geordi2q04 (1.2.32); FILE MERGED
2003/09/02 07:59:08 rt 1.2.32.1: #111934#: Join CWS geordiregression04.
Diffstat (limited to 'jvmaccess')
-rw-r--r--jvmaccess/source/virtualmachine.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/jvmaccess/source/virtualmachine.cxx b/jvmaccess/source/virtualmachine.cxx
index 91b512fe2739..f2a2e9a0fbc7 100644
--- a/jvmaccess/source/virtualmachine.cxx
+++ b/jvmaccess/source/virtualmachine.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: virtualmachine.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2003-03-26 12:41:25 $
+ * last change: $Author: obo $ $Date: 2003-09-04 11:40:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -180,8 +180,8 @@ JNIEnv * VirtualMachine::attachThread(bool * pAttached) const
jobject aThread = pEnv->CallStaticObjectMethod(aClass, aMethod1);
jmethodID aMethod2 = pEnv->GetMethodID(
aClass, "setContextClassLoader", "(Ljava/lang/ClassLoader;)V");
- pEnv->CallObjectMethod(aThread, aMethod2,
- m_aInitialContextClassLoader);
+ pEnv->CallVoidMethod(aThread, aMethod2,
+ m_aInitialContextClassLoader);
OSL_ENSURE(!pEnv->ExceptionCheck(), "JNI: exception occured");
pEnv->ExceptionClear();
}