This is an automated email from the ASF dual-hosted git repository.

upthewaterspout pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 599f960  GEODE-5359: Clear interrupt bit on retry in 
DirectChannel.sendToMany
599f960 is described below

commit 599f9608a49ca4c555ce8d68129b9a37ba236f70
Author: Dan Smith <upthewatersp...@apache.org>
AuthorDate: Thu Jun 28 13:55:41 2018 -0700

    GEODE-5359: Clear interrupt bit on retry in DirectChannel.sendToMany
---
 .../org/apache/geode/distributed/internal/direct/DirectChannel.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/geode-core/src/main/java/org/apache/geode/distributed/internal/direct/DirectChannel.java
 
b/geode-core/src/main/java/org/apache/geode/distributed/internal/direct/DirectChannel.java
index 970957f..13a59e8 100644
--- 
a/geode-core/src/main/java/org/apache/geode/distributed/internal/direct/DirectChannel.java
+++ 
b/geode-core/src/main/java/org/apache/geode/distributed/internal/direct/DirectChannel.java
@@ -322,7 +322,7 @@ public class DirectChannel {
 
     try {
       do {
-        interrupted = interrupted || Thread.interrupted();
+        interrupted = Thread.interrupted() || interrupted;
         /**
          * Exceptions that happened during one attempt to send
          */

Reply via email to