Merge pull request #307 from dicej/posix-spawn

fix Processes test failure for openjdk-src build with recent versions of...
This commit is contained in:
Joshua Warner 2014-07-22 17:42:40 -06:00
commit c26fb78f2c

View File

@ -3329,6 +3329,9 @@ uint64_t jvmInitProperties(Thread* t, uintptr_t* arguments)
->path());
local::setProperty(t, method, *properties, "file.encoding", "UTF-8");
local::setProperty(t, method, *properties, "jdk.lang.Process.launchMechanism", "fork");
#ifdef ARCH_x86_32
local::setProperty(t, method, *properties, "os.arch", "x86");
#elif defined ARCH_x86_64