To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=80383 Issue #|80383 Summary|NativeLibraryLoader.loadLibrary, native methods, multi |ple classloaders Component|udk Version|680m224 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|sb Reported by|sb
------- Additional comments from [EMAIL PROTECTED] Mon Aug 6 14:51:56 +0000 2007 ------- <http://www.openoffice.org/issues/show_bug.cgi?id=80338#desc21> revealed the following problem: Assume jurt.jar (including com.sun.star.lib.util.NativeLibraryLoader) is loaded by the application classloader (e.g., because jurt.jar is added the the JVM classpath) and java_uno.jar (including com.sun.star.bridges.jni_uno.JNI_proxy) is loaded by com.sun.star.lib.unoloader.UnoClassLoader (the normal situation; within OOo UnoClassLoader has some URLClassLoader as parent which in turn has the application class loader as parent). bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/JNI_proxy.java:1.8 l. 50 calls NativeLibraryLoader.loadLibrary to load the java_uno dynamic library needed by the dispatch_call native method. NativeLibraryLoader.loadLibrary uses System.load or System.loadLibrary to load the library. Later, calling JNI_proxy.dispatch_call leads to an UnsatisfiedLinkError. Obviously, the JVM does not allow code loaded with the UnoClassLoader to resolve native methods against libraries loaded through code loaded with the application classloader. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
