mirror of https://github.com/apache/lucene.git
Thread.getId() is a java 1.5 feature. Change to Thread.getName().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@662545 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1979d75605
commit
455afb322d
|
@ -757,7 +757,7 @@ public class TestIndexReaderReopen extends LuceneTestCase {
|
|||
try {
|
||||
threads[i].join();
|
||||
if (threads[i].error != null) {
|
||||
String msg = "Error occurred in thread " + threads[i].getId() + ":\n" + threads[i].error.getMessage();
|
||||
String msg = "Error occurred in thread " + threads[i].getName() + ":\n" + threads[i].error.getMessage();
|
||||
fail(msg);
|
||||
}
|
||||
} catch (InterruptedException e) {}
|
||||
|
|
Loading…
Reference in New Issue