mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 20:44:41 +02:00
Merge
This commit is contained in:
commit
93c7dd5bfd
46 changed files with 841 additions and 594 deletions
|
@ -4744,6 +4744,10 @@ int os::fork_and_exec(char* cmd) {
|
|||
// as libawt.so, and renamed libawt_xawt.so
|
||||
//
|
||||
bool os::is_headless_jre() {
|
||||
#ifdef __APPLE__
|
||||
// We no longer build headless-only on Mac OS X
|
||||
return false;
|
||||
#else
|
||||
struct stat statbuf;
|
||||
char buf[MAXPATHLEN];
|
||||
char libmawtpath[MAXPATHLEN];
|
||||
|
@ -4775,6 +4779,7 @@ bool os::is_headless_jre() {
|
|||
if (::stat(libmawtpath, &statbuf) == 0) return false;
|
||||
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Get the default path to the core file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue