sohamgulame opened a new pull request, #1594:
URL: https://github.com/apache/commons-lang/pull/1594

   UncheckedFutureImpl currently clears the thread interrupt status when 
catching
   InterruptedException and wrapping it in UncheckedInterruptedException.
   
   This PR restores the interrupt status by calling 
Thread.currentThread().interrupt()
   before throwing the unchecked exception, in accordance with Java concurrency 
best
   practices.
   
   A unit test has been added to verify that the interrupt status is preserved.
   All tests pass locally with the Maven build.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to