Browse Source

and don't swap stderr and stdout either.

The release build is correct BTW, CVS claimed I changed the file fast
enough, but it committed something else, grr.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268112 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 24 years ago
parent
commit
2198f70d70
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/Javac.java

+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/Javac.java View File

@@ -533,8 +533,8 @@ public class Javac extends MatchingTask {
throw new BuildException("Error starting modern compiler", ex, location); throw new BuildException("Error starting modern compiler", ex, location);
} }
} finally { } finally {
System.setOut(err);
System.setErr(out);
System.setErr(err);
System.setOut(out);
} }
} }




Loading…
Cancel
Save