Skip to content

Commit c26fb78

Browse files
Merge pull request ReadyTalk#307 from dicej/posix-spawn
fix Processes test failure for openjdk-src build with recent versions of...
2 parents 6e26ff0 + 1bee015 commit c26fb78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/classpath-openjdk.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -3329,6 +3329,9 @@ uint64_t jvmInitProperties(Thread* t, uintptr_t* arguments)
33293329
->path());
33303330

33313331
local::setProperty(t, method, *properties, "file.encoding", "UTF-8");
3332+
3333+
local::setProperty(t, method, *properties, "jdk.lang.Process.launchMechanism", "fork");
3334+
33323335
#ifdef ARCH_x86_32
33333336
local::setProperty(t, method, *properties, "os.arch", "x86");
33343337
#elif defined ARCH_x86_64

0 commit comments

Comments
 (0)