lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message