git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@552208 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -16,6 +16,9 @@ Changes that could break older environments: | |||||
| * <scriptcondition> now prefers evaluation result/return value over value property. | * <scriptcondition> now prefers evaluation result/return value over value property. | ||||
| * <java> with fork now returns gives -1 instead of 0 as result when failonerror | |||||
| is false and some exception (including timeout) occurs. Br 42377. | |||||
| Fixed bugs: | Fixed bugs: | ||||
| ----------- | ----------- | ||||
| * Regression: Locator fails with URI encoding problem when spaces in path | * Regression: Locator fails with URI encoding problem when spaces in path | ||||
| @@ -228,7 +228,7 @@ public class Java extends Task { | |||||
| throw e; | throw e; | ||||
| } else { | } else { | ||||
| log(e); | log(e); | ||||
| return 0; | |||||
| return -1; | |||||
| } | } | ||||
| } catch (ThreadDeath t) { | } catch (ThreadDeath t) { | ||||
| throw t; // cf. NB #47191 | throw t; // cf. NB #47191 | ||||
| @@ -237,7 +237,7 @@ public class Java extends Task { | |||||
| throw new BuildException(t, getLocation()); | throw new BuildException(t, getLocation()); | ||||
| } else { | } else { | ||||
| log(t); | log(t); | ||||
| return 0; | |||||
| return -1; | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||