slachiewicz opened a new pull request, #2296:
URL: https://github.com/apache/maven-resolver/pull/2296

   Both collectors detect an interrupt with `Thread.interrupted()`, which 
clears the flag, and throw `DependencyCollectionException` with the 
`InterruptedException` as its cause. The flag was never restored, so code 
further up the stack could no longer see that the thread had been interrupted.
   
   The collectors now re-interrupt the thread before throwing. 
`testCollectionInterrupted` in the shared collector test support covers the BF 
and DF collectors; without the change it fails for both.


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