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

   `FileLockNamedLock.threadSteps` kept an entry for every thread that ever 
used the lock, including threads whose attempt timed out, so it retained 
`Thread` objects for the lock's lifetime. Entries are now removed when a 
thread's step stack empties or its attempt fails.
   
   `CompositeNamedLock.doUnlock()` threw `NoSuchElementException` for an unlock 
without a lock; it now throws the same `IllegalStateException("Wrong API usage: 
unlock without lock")` as the other locks, covered by `unlockWoLockComposite` 
for the three named-locks factories.


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