You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by mi...@apache.org on 2009/04/28 16:05:44 UTC
svn commit: r769409 -
/lucene/java/trunk/src/java/org/apache/lucene/store/Lock.java
Author: mikemccand
Date: Tue Apr 28 14:05:43 2009
New Revision: 769409
URL: http://svn.apache.org/viewvc?rev=769409&view=rev
Log:
add missing interrupt restore on InterruptedException
Modified:
lucene/java/trunk/src/java/org/apache/lucene/store/Lock.java
Modified: lucene/java/trunk/src/java/org/apache/lucene/store/Lock.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/store/Lock.java?rev=769409&r1=769408&r2=769409&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/store/Lock.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/store/Lock.java Tue Apr 28 14:05:43 2009
@@ -93,6 +93,7 @@
} catch (InterruptedException e) {
// In 3.0 we will change this to throw
// InterruptedException instead
+ Thread.currentThread().interrupt();
throw new IOException(e.toString());
}
locked = obtain();