diff options
author | Sven Gothel <[email protected]> | 2013-10-01 13:16:59 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-10-01 13:16:59 +0200 |
commit | 4aa1478b2e4f1401b08d093461b37a14c9501c29 (patch) | |
tree | e609e8ad9633b69d431753650ec73080c2e11682 /test | |
parent | 1a8d2c627dbab5234aea72a458c00b6bba28add0 (diff) |
Bug 845: Add support for one big-fat jar file [java classes plus all native 'os.and.arch' libraries]
JNILibLoaderBase.addNativeJarLibsImpl(..):
If the modules's jar file contains the folder 'natives/<os.and.arch>/'
we assume a big-fat jar and attempt to load all native libraries from the same.
The test for above folder is performed via the class ClassLoader's getResource(..)
and is considered inexpensive.
If the folder exists and native libraries could be loaded, the method returns successfull.
Otherwise, the 'slim' jar file is attempted to be loaded, even if such folder exist.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions