Bug 843 - Remove Platform's requirement and use of TempJarCache.bootstrapNativeLib(), allowing versatile use of 1st native jar file (multi-java-jar w/ multi-native-jar)
Summary: Remove Platform's requirement and use of TempJarCache.bootstrapNativeLib(), a...
Status: RESOLVED FIXED
Alias: None
Product: Gluegen
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks: 1145
  Show dependency treegraph
 
Reported: 2013-10-01 07:38 CEST by Sven Gothel
Modified: 2015-09-27 03:14 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
506ae5e9fd258db7bfe737999e769477a32643a7
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.