src/os/bsd/vm/os_bsd.cpp

changeset 6015
e006d2e25bc7
parent 5895
3e265ce4d2dd
child 6054
3b32d287da89
     1.1 --- a/src/os/bsd/vm/os_bsd.cpp	Tue Oct 22 13:56:26 2013 -0700
     1.2 +++ b/src/os/bsd/vm/os_bsd.cpp	Thu Oct 24 20:47:18 2013 -0400
     1.3 @@ -4746,6 +4746,10 @@
     1.4  // as libawt.so, and renamed libawt_xawt.so
     1.5  //
     1.6  bool os::is_headless_jre() {
     1.7 +#ifdef __APPLE__
     1.8 +    // We no longer build headless-only on Mac OS X
     1.9 +    return false;
    1.10 +#else
    1.11      struct stat statbuf;
    1.12      char buf[MAXPATHLEN];
    1.13      char libmawtpath[MAXPATHLEN];
    1.14 @@ -4777,6 +4781,7 @@
    1.15      if (::stat(libmawtpath, &statbuf) == 0) return false;
    1.16  
    1.17      return true;
    1.18 +#endif
    1.19  }
    1.20  
    1.21  // Get the default path to the core file

mercurial