浏览代码

Local test failure on XP w/ JDK 7.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1297207 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 13 年前
父节点
当前提交
583f7cd1c4
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. +6
    -2
      src/tests/junit/org/apache/tools/ant/taskdefs/JavaTest.java

+ 6
- 2
src/tests/junit/org/apache/tools/ant/taskdefs/JavaTest.java 查看文件

@@ -254,8 +254,12 @@ public class JavaTest extends BuildFileTest {
// write some stuff in the input stream to be catched by the input task
out.write("foo\n".getBytes());
out.flush();
out.write("bar\n".getBytes());
out.flush();
try {
out.write("bar\n".getBytes());
out.flush();
} catch (IOException x) {
// "Pipe closed" on XP; ignore?
}

inputThread.join(2000);



正在加载...
取消
保存