7152031: Hotspot needs updated xawt path [macosx]

Update to use the right path on MacOS X.

Reviewed-by: michaelm, jcoomes, amurillo
This commit is contained in:
Daniel D. Daugherty 2012-03-07 14:58:17 -08:00
parent a77a5ac2a0
commit ec59e22ec0

View File

@ -5845,7 +5845,7 @@ bool os::is_headless_jre() {
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