|
 | make/gluegen-cpptasks-base.xml (diff) |
|
 | src/java/com/jogamp/common/os/NativeLibrary.java (diff) |
Commit
d12e4d4ea279998b27457691038e709879dcaca6
by xerxesBug 1194: NativeLibrary: Remove dangerous search paths using the JRE extension mechanism
NativeLibrary: API change: Removed searchSystemPathFirst argument to the open and enumerateLibraryPaths methods. Removed the generic sun.boot.library.path system path and the MacOS specific Frameworks paths from enumerateLibraryPaths.
JNILibLoaderBase, PlatformPropsImpl & TestElfReader01: Updated to handle the NativeLibrary API change.
This change will prevent JogAmp modules to pickup and load unsupported and old SUN JOGL 1 natives that may have been deployed with the JRE.
|
 | src/java/com/jogamp/common/jvm/JNILibLoaderBase.java (diff) |
 | src/java/jogamp/common/os/PlatformPropsImpl.java (diff) |
 | src/junit/com/jogamp/common/os/TestElfReader01.java (diff) |
 | src/java/com/jogamp/common/os/NativeLibrary.java (diff) |
Commit
6557eedd0f0ec98d743c762a698bb028e88a9e16
by Sven GothelBug 1194: Reinstate system-lib search for NativeLibrary.open(..) and PlatformPropsImpl.findSysLib(..).
This patch partially reverts of commit d12e4d4ea279998b27457691038e709879dcaca6.
NativeLibrary.open(..) requires search of system libraries, since it loads the actual 'tool library' for which we generate the JNI binding. The 'tool library' is preferably the system wide installed version, e.g. libGL.so etc.
PlatformPropsImpl.findSysLib(..) also requires finding system libraries as needed for PlatformPropsImpl.queryElfFile(..), i.e. using libjava.so etc.
Only the JNI 'glue library', glueing java calls to the 'tool library', shall not use the system wide library search since we shall only use JogAmp provided instances here.
This patch also reinstates binary compatibility w/ prev. GlueGen JARs since NativeLibrary.enumerateLibraryPath(..) is public.
+++
Further more 'NativeLibrary.enumerateLibraryPath(..)' now adds OSX system framework search _before_ the user path in case 'searchSystemPath && searchSystemPathFirst'. Original code always added this search to the end, which does not match the intended behavior (-> bug).
|
 | src/java/com/jogamp/common/os/NativeLibrary.java (diff) |
 | src/junit/com/jogamp/common/os/TestElfReader01.java (diff) |
 | make/scripts/runtest.sh (diff) |
 | src/java/jogamp/common/os/PlatformPropsImpl.java (diff) |
Commit
32f09a5894ce3b157d5439df83703fa6f5336ff4
by Sven GothelBug 1145: Fix cc2: Null versions reported using the fat-jar (JogampVersion)
In case we run fat-jar file, the package name is 'com.jogamp' and all entries are based upon GlueGen.
JogampVersion will fall back trying to find a fat-jar Manifest in case a null Manifest is being passed.
|
 | src/java/com/jogamp/common/util/JogampVersion.java (diff) |
Commit
41d89263109d20dbcfcc7a642c88a290b4877b5f
by Sven GothelBug 1172: TempJarCache: Only copy native library files from 'natives/os.and.arch', reducing JAR search.
Since all native libraries are now contained within 'natives/os.and.arch', we don't need to search the whole JAR file anymore but simply can copy the content of the defined folder - if existing.
|
 | src/java/com/jogamp/common/jvm/JNILibLoaderBase.java (diff) |
 | make/scripts/runtest.sh (diff) |