bodewig 2003/08/04 05:23:26
Modified: src/main/org/apache/tools/ant Main.java
Log:
Restore System.in, PR: 22066
Revision Changes Path
1.90 +2 -0 ant/src/main/org/apache/tools/ant/Main.java
Index: Main.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Main.java,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- Main.java 18 Jul 2003 12:45:54 -0000 1.89
+++ Main.java 4 Aug 2003 12:23:26 -0000 1.90
@@ -603,6 +603,7 @@
PrintStream err = System.err;
PrintStream out = System.out;
+ InputStream in = System.in;
// use a system manager that prevents from System.exit()
// only in JDK > 1.1
@@ -668,6 +669,7 @@
System.setOut(out);
System.setErr(err);
+ System.setIn(in);
}
} catch (RuntimeException exc) {
error = exc;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]