ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgl...@apache.org
Subject svn commit: r380877 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Java.java
Date Sat, 25 Feb 2006 00:58:13 GMT
Author: jglick
Date: Fri Feb 24 16:58:11 2006
New Revision: 380877

URL: http://svn.apache.org/viewcvs?rev=380877&view=rev
Log:
Avoid catching ThreadDeath; just pass it on.
Cf. http://www.netbeans.org/nonav/issues/show_bug.cgi?id=47191

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Java.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Java.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Java.java?rev=380877&r1=380876&r2=380877&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Java.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Java.java Fri Feb 24 16:58:11 2006
@@ -203,6 +203,8 @@
                 log(e);
                 return 0;
             }
+        } catch (ThreadDeath t) {
+            throw t; // cf. NB #47191
         } catch (Throwable t) {
             if (failOnError) {
                 throw new BuildException(t, getLocation());



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message