lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Exceptions in TestConcurrentMergeScheduler
Date Wed, 03 Oct 2007 21:16:21 GMT

: But it'd be nice to do this across the board, ie, for any junit test
: if one of CMS's threads (or, threads launched elsewhere) hits an
: unhandled exception, fail the testcase that's currently running.
: I'll dig and see if there's some central way to do this with junit...

FYI: i did some casual investigation of this and the only thing that 
jumped out at me is the static 
Thread.setDefaultUncaughtExceptionHandler(...) added in 1.5.  for 1.4 
there doesn't seem to be a generic way to notice an uncaught exception 
from any thread.


-Hoss


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


Mime
View raw message