aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/Win32Process.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/lang/Win32Process.java')
-rw-r--r--libjava/java/lang/Win32Process.java16
1 files changed, 7 insertions, 9 deletions
diff --git a/libjava/java/lang/Win32Process.java b/libjava/java/lang/Win32Process.java
index 7a58727..b0ef487 100644
--- a/libjava/java/lang/Win32Process.java
+++ b/libjava/java/lang/Win32Process.java
@@ -28,8 +28,6 @@ final class ConcreteProcess extends Process
{
public native void destroy ();
- public native boolean hasExited ();
-
public int exitValue ()
{
if (! hasExited ())
@@ -55,13 +53,6 @@ final class ConcreteProcess extends Process
public native int waitFor () throws InterruptedException;
- public native void startProcess (String[] progarray,
- String[] envp,
- File dir)
- throws IOException;
-
- public native void cleanup ();
-
public ConcreteProcess (String[] progarray,
String[] envp,
File dir)
@@ -89,4 +80,11 @@ final class ConcreteProcess extends Process
// Exit code of the child if it has exited.
private int exitCode;
+
+ private native boolean hasExited ();
+ private native void startProcess (String[] progarray,
+ String[] envp,
+ File dir)
+ throws IOException;
+ private native void cleanup ();
}