7152031: Hotspot needs updated xawt path [macosx]
authordcubed
Wed, 07 Mar 2012 14:58:17 -0800
changeset 12100 9990e6551406
parent 12099 79d1a6f2bf3b
child 12101 ce40623cb187
7152031: Hotspot needs updated xawt path [macosx] Summary: Update to use the right path on MacOS X. Reviewed-by: michaelm, jcoomes, amurillo
hotspot/src/os/bsd/vm/os_bsd.cpp
--- a/hotspot/src/os/bsd/vm/os_bsd.cpp	Mon Mar 05 22:34:18 2012 +0100
+++ b/hotspot/src/os/bsd/vm/os_bsd.cpp	Wed Mar 07 14:58:17 2012 -0800
@@ -5845,7 +5845,7 @@
     char buf[MAXPATHLEN];
     char libmawtpath[MAXPATHLEN];
     const char *xawtstr  = "/xawt/libmawt" JNI_LIB_SUFFIX;
-    const char *new_xawtstr = "/libawt_xawt" JNI_LIB_SUFFIX;
+    const char *new_xawtstr = "/xawt/libawt_xawt" JNI_LIB_SUFFIX;
     char *p;
 
     // Get path to libjvm.so