coolbeevip commented on a change in pull request #599: SCB-1604 modify 
InterruptedException
URL: https://github.com/apache/servicecomb-pack/pull/599#discussion_r349409798
 
 

 ##########
 File path: 
omega/omega-transaction/src/main/java/org/apache/servicecomb/pack/omega/transaction/ForwardRecovery.java
 ##########
 @@ -66,6 +66,7 @@ public Object applyTo(ProceedingJoinPoint joinPoint, 
Compensable compensable, Co
         }
       }
     } catch (InterruptedException e) {
+      Thread.currentThread().interrupt();
 
 Review comment:
   @chanjarster very nice summary!
   Catching the InterruptedException and throw a new RuntimeException, We 
didn't swallow it. So I don't think I need to call 
Thread.currentThread().interrupt()

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to