diff options
author | Sven Gothel <[email protected]> | 2015-08-18 02:15:31 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-08-18 02:15:31 +0200 |
commit | 6557eedd0f0ec98d743c762a698bb028e88a9e16 (patch) | |
tree | 6577c817b825f5b7dc749b06b9688302e9d85e06 /src/java/com/jogamp/common/util | |
parent | 7d4b18401ff0a1a6b72237f8c482007fbd2623dd (diff) |
Bug 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).
Diffstat (limited to 'src/java/com/jogamp/common/util')
0 files changed, 0 insertions, 0 deletions