comparison src/os/bsd/vm/os_bsd.cpp @ 5920:4e0a9aaec0e9

7152031: Hotspot needs updated xawt path [macosx] Summary: Update to use the right path on MacOS X. Reviewed-by: michaelm, jcoomes, amurillo
author dcubed
date Wed, 07 Mar 2012 14:58:17 -0800
parents 0368109684cb
children fdf4deca44ec
comparison
equal deleted inserted replaced
5919:22d276ade3e1 5920:4e0a9aaec0e9
5843 bool os::is_headless_jre() { 5843 bool os::is_headless_jre() {
5844 struct stat statbuf; 5844 struct stat statbuf;
5845 char buf[MAXPATHLEN]; 5845 char buf[MAXPATHLEN];
5846 char libmawtpath[MAXPATHLEN]; 5846 char libmawtpath[MAXPATHLEN];
5847 const char *xawtstr = "/xawt/libmawt" JNI_LIB_SUFFIX; 5847 const char *xawtstr = "/xawt/libmawt" JNI_LIB_SUFFIX;
5848 const char *new_xawtstr = "/libawt_xawt" JNI_LIB_SUFFIX; 5848 const char *new_xawtstr = "/xawt/libawt_xawt" JNI_LIB_SUFFIX;
5849 char *p; 5849 char *p;
5850 5850
5851 // Get path to libjvm.so 5851 // Get path to libjvm.so
5852 os::jvm_path(buf, sizeof(buf)); 5852 os::jvm_path(buf, sizeof(buf));
5853 5853