jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1537008 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
Date Wed, 30 Oct 2013 08:36:04 GMT
Author: mduerig
Date: Wed Oct 30 08:36:03 2013
New Revision: 1537008

URL: http://svn.apache.org/r1537008
Log:
OAK-144 Implement observation
Set thread's interrupted state on InterruptedException

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java?rev=1537008&r1=1537007&r2=1537008&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/observation/ChangeProcessor.java
Wed Oct 30 08:36:03 2013
@@ -115,6 +115,7 @@ public class ChangeProcessor {
                 thread.join();
             } catch (InterruptedException e) {
                 log.warn("Interruption while waiting for the observation thread to terminate",
e);
+                Thread.currentThread().interrupt();
             }
         }
     }



Mime
View raw message