From c8f7dcada497e97d24a5446ed07dffdbcd842a03 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 4 Sep 2003 10:40:56 +0000 Subject: [PATCH] INTEGRATION: CWS geordi2q04 (1.2.32); FILE MERGED 2003/09/02 07:59:08 rt 1.2.32.1: #111934#: Join CWS geordiregression04. --- jvmaccess/source/virtualmachine.cxx | 8 ++++---- 1 file 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(); }