From bd6f2913c5d803cb8094f1b0ddf4ce6c0147cd46 Mon Sep 17 00:00:00 2001 From: Eric Scharff Date: Wed, 26 Sep 2007 11:22:23 -0600 Subject: [PATCH] Runtime should implement IOException --- classpath/java/lang/Runtime.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classpath/java/lang/Runtime.java b/classpath/java/lang/Runtime.java index f5d81402cf..ddc657ec87 100644 --- a/classpath/java/lang/Runtime.java +++ b/classpath/java/lang/Runtime.java @@ -1,5 +1,6 @@ package java.lang; +import java.io.IOException; import java.io.InputStream; import java.io.FileInputStream; import java.io.OutputStream; @@ -31,7 +32,7 @@ public class Runtime { } } - public Process exec(String command) { + public Process exec(String command) throws IOException { int[] process = new int[4]; exec(command, process); return new MyProcess(process[0], process[1], process[2], process[3]);