diff options
Diffstat (limited to 'libjava/java/lang/natRuntime.cc')
-rw-r--r-- | libjava/java/lang/natRuntime.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libjava/java/lang/natRuntime.cc b/libjava/java/lang/natRuntime.cc index 5cca1b072a3..ecaf7d314a2 100644 --- a/libjava/java/lang/natRuntime.cc +++ b/libjava/java/lang/natRuntime.cc @@ -26,9 +26,13 @@ details. */ #include <java/util/TimeZone.h> #include <java/lang/StringBuffer.h> #include <java/lang/Process.h> -#include <java/lang/ConcreteProcess.h> #include <java/lang/ClassLoader.h> +// It is convenient and safe to simply include all of these. +#include <java/lang/Win32Process.h> +#include <java/lang/EcosProcess.h> +#include <java/lang/PosixProcess.h> + #include <jni.h> #ifdef HAVE_PWD_H @@ -286,7 +290,7 @@ java::lang::Runtime::execInternal (jstringArray cmd, jstringArray env, java::io::File *dir) { - return new java::lang::ConcreteProcess (cmd, env, dir); + return new _Jv_platform_process (cmd, env, dir); } jint |