Bug 843

Summary: Remove Platform's requirement and use of TempJarCache.bootstrapNativeLib(), allowing versatile use of 1st native jar file (multi-java-jar w/ multi-native-jar)
Product: [JogAmp] Gluegen Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
506ae5e9fd258db7bfe737999e769477a32643a7
Workaround: ---
Bug Depends on:    
Bug Blocks: 1145    

Description Sven Gothel 2013-10-01 07:38:09 CEST
TempJarCache.bootstrapNativeLib() only caches the denoted native library,
which forbids using one big-java-jar file containing gluegen, jogl and user-app
and it's counterpart one big-native-jar per platform containing all the native libraries
for gluegen, jogl and user-app.

TempJarCache.bootstrapNativeLib() was introduced due to dependency problems
of Platform, JarUtil and IOUtil.
Most of these dependencies were solved via the introduction of PlatformPropsImpl.

Let Platform's initialization use the regular JNILibLoaderBase.addNativeJarLibs(..),
which will cause all containing native libraries to be loaded and remove the special
bootstrapping case.
Comment 1 Sven Gothel 2013-10-01 07:42:23 CEST
solved as described ..
Comment 2 Sven Gothel 2013-10-01 07:48:05 CEST
big -> multi: multi for multiple module - avoid confusion w/ 'big fat jar' for all architectures.