diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 13:40:17 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-04-15 13:40:17 +0000 |
commit | e4b77308a206e196b327deb09def8643acb93c79 (patch) | |
tree | ec192901bb69a46ff45b5310bf617876ee769bee /bridges/source/jni_uno/java | |
parent | 958901727c6ada9390241572a80b4002c512aee2 (diff) |
INTEGRATION: CWS tune01 (1.1.2.1.16); FILE MERGED
2003/03/13 11:41:56 sb 1.1.2.1.16.1: #107990# Introduced NativeLibraryLoader to unify loading/locating system libraries.
Diffstat (limited to 'bridges/source/jni_uno/java')
-rw-r--r-- | bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java index c3d809c19b0e..5144dbaba858 100644 --- a/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java +++ b/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_info_holder.java @@ -2,9 +2,9 @@ * * $RCSfile: JNI_info_holder.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: hr $ $Date: 2003-03-18 19:07:04 $ + * last change: $Author: vg $ $Date: 2003-04-15 14:40:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -60,9 +60,16 @@ ************************************************************************/ package com.sun.star.bridges.jni_uno; +import com.sun.star.lib.util.NativeLibraryLoader; + //================================================================================================== public final class JNI_info_holder { + static { + NativeLibraryLoader.loadLibrary(JNI_proxy.class.getClassLoader(), + "java_uno"); + } + private static JNI_info_holder s_holder = new JNI_info_holder(); private static long s_jni_info_handle; |