-
Enhancement
-
Resolution: Won't Fix
-
P3
-
7u25
-
solaris
LD_LIBRARY_PATH takes precedence over a runpath on Solaris. This means that if someone runs the JDK with LD_LIBRARY_PATH set to include a directory that contains any of libawt, libfontmanager, libjava, libnio, libnet, libverify, .. then these will may be loaded even if the JDK library has been previously loaded with System.loadLibrary. The result is hard to diagnose errors such as relocation errors and "referenced symbol not found".
Here are a few examples
libfontmanager.so => libawt.so
libfontmanager.so => libjava.so
libfontmanager.so => libverify.so
libt2k => libfontmanager
libt2k => libawt
libsctp.so => libnio.so
libsctp.so => libnet.so
libnio.so => libnet.so
Here are a few examples
libfontmanager.so => libawt.so
libfontmanager.so => libjava.so
libfontmanager.so => libverify.so
libt2k => libfontmanager
libt2k => libawt
libsctp.so => libnio.so
libsctp.so => libnet.so
libnio.so => libnet.so
- relates to
-
JDK-8217216 Launcher does not defend itself against LD_LIBRARY_PATH_64 (Solaris)
-
- Resolved
-
-
JDK-7029048 (launcher) fence the launcher against LD_LIBRARY_PATH
-
- Closed
-