summaryrefslogtreecommitdiff
path: root/bridges/source/jni_uno/java
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-06-17 08:54:29 +0000
committerOliver Bolte <obo@openoffice.org>2005-06-17 08:54:29 +0000
commitd1ac8952c8177d1490ab3bce6f2655f02d0aa752 (patch)
tree173c9f75de4cca5494fde770711d97ec60ec5a96 /bridges/source/jni_uno/java
parentd598bd7846a02eb894e9cf9590e0322ef6877c49 (diff)
INTEGRATION: CWS sb31 (1.5.168); FILE MERGED
2005/04/07 11:54:11 sb 1.5.168.1: #120220# Use the current class loader instead of the system class loader to ensure that all UNO classes are loaded through the UnoClassLoader.
Diffstat (limited to 'bridges/source/jni_uno/java')
-rw-r--r--bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
index 5d5de92a29ec..04e5a7b876b3 100644
--- a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
+++ b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java
@@ -2,9 +2,9 @@
*
* $RCSfile: JNI_proxy.java,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2003-04-23 16:32:17 $
+ * last change: $Author: obo $ $Date: 2005-06-17 09:54:29 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -75,8 +75,8 @@ public final class JNI_proxy implements java.lang.reflect.InvocationHandler
NativeLibraryLoader.loadLibrary(JNI_proxy.class.getClassLoader(),
"java_uno");
}
- protected static ClassLoader s_system_classloader =
- ClassLoader.getSystemClassLoader();
+ protected static ClassLoader s_classloader =
+ JNI_proxy.class.getClassLoader();
protected static Class s_InvocationHandler [] =
new Class [] { java.lang.reflect.InvocationHandler.class };
@@ -158,7 +158,7 @@ public final class JNI_proxy implements java.lang.reflect.InvocationHandler
throws Throwable
{
Class proxy_class = java.lang.reflect.Proxy.getProxyClass(
- s_system_classloader,
+ s_classloader,
new Class [] { clazz, IQueryInterface.class,
com.sun.star.lib.uno.Proxy.class } );
return proxy_class.getConstructor( s_InvocationHandler );