Bug 775

Summary: Look for native's jar using classloader
Product: [JogAmp] Gluegen Reporter: olamedia <olamedia>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED INVALID    
Severity: normal    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
Workaround: ---

Description olamedia 2013-07-06 04:53:00 CEST
Currently JNILibLoaderBase uses classloaders only to look for .so libraries (and only system classloader).
It should use classloader to look for a packed .jar version too and try to use thread's classloader to look for an .so.
At the moment it tries only fixed path to jar, relative to application basepath.
Comment 1 Sven Gothel 2013-07-07 16:11:44 CEST
No it should not, this class is dedicated to load native libraries utilizing many diff. strategies.
TempJarCache's find*() methods match ClassLoader's interface and can be utilized
in a custom CL, as mention in IRC already.