elharo opened a new issue, #1993:
URL: https://github.com/apache/maven-resolver/issues/1993
**Affected version:** HEAD
**File:**
`maven-resolver-util/src/main/java/org/eclipse/aether/util/concurrency/SmartExecutor.java:177-179`
```java
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
}
```
In `Limited.submit(Runnable)` (line 155), if `semaphore.acquire()` throws
`InterruptedException`, the interrupt flag is restored but the caller's task is
never executed. The method simply returns. The `submit(Callable)` variant (line
183-213) correctly handles this by returning a failed `CompletableFuture`. The
`Runnable` overload should do something analogous (e.g., run the task inline or
throw).
Originally reported in #1944.
--
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]