changeset 5083:929c0cb1bbc5

. Remove old OpenBSD Work-around for $ORIGIN support
author kurt
date Thu, 24 Apr 2014 23:20:47 -0400
parents 0da367b01e32
children bc18827707b2
files src/share/vm/runtime/os.cpp
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/os.cpp	Sun Apr 20 12:32:58 2014 -0700
+++ b/src/share/vm/runtime/os.cpp	Thu Apr 24 23:20:47 2014 -0400
@@ -399,13 +399,6 @@
     if (_native_java_library == NULL) {
       vm_exit_during_initialization("Unable to load native library", ebuf);
     }
-
-#if defined(__OpenBSD__)
-    // Work-around OpenBSD's lack of $ORIGIN support by pre-loading libnet.so
-    // ignore errors
-    dll_build_name(buffer, sizeof(buffer), Arguments::get_dll_dir(), "net");
-    dll_load(buffer, ebuf, sizeof(ebuf));
-#endif
   }
   static jboolean onLoaded = JNI_FALSE;
   if (onLoaded) {