ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32941] - [PATCH] ExecuteJava should not catch ThreadDeath
Date Fri, 07 Jan 2005 13:06:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32941





------- Additional Comments From stevel@apache.org  2005-01-07 14:06 -------
well maybe we should have a static filter function that gets called on throwables

catch(Throwable t) {
 Project.rethrowNotForCatching(t);
 ...

}

rethrowNotForCatching would use instanceof tests to decide what to do.

This may seem somewhat bad form but with the logic in one place we can tune it.
I have used this technique in other projects. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

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


Mime
View raw message