lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1050718 - /lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java
Date Sat, 18 Dec 2010 21:20:48 GMT
Author: rmuir
Date: Sat Dec 18 21:20:46 2010
New Revision: 1050718

URL: http://svn.apache.org/viewvc?rev=1050718&view=rev
Log:
LUCENE-2819: set this before interuppting also, to prevent false fails

Modified:
    lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java

Modified: lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java?rev=1050718&r1=1050717&r2=1050718&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java (original)
+++ lucene/dev/trunk/lucene/src/test/org/apache/lucene/util/LuceneTestCase.java Sat Dec 18
21:20:46 2010
@@ -543,6 +543,7 @@ public abstract class LuceneTestCase ext
           } catch (InterruptedException e) { e.printStackTrace(); }
           // try to stop the thread:
           t.setUncaughtExceptionHandler(null);
+          Thread.setDefaultUncaughtExceptionHandler(null);
           t.interrupt();
           try {
             t.join(THREAD_STOP_GRACE_MSEC);



Mime
View raw message