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

   Closing a session after `RepositorySystem.shutdown()` no longer throws. 
Shutting down already runs the end handlers of every session still open and 
reports each one as not closed; closing such a session afterwards, as 
try-with-resources does when the code shut the system down explicitly, failed 
with `repository system is already shut down` although there was nothing left 
to do. Starting a session after shutdown still fails.
   
   Verified: the new `DefaultRepositorySystemLifecycleTest` fails on master in 
`sessionClosedAfterShutdownDoesNotThrowOrRunItsHandlersAgain` and passes with 
the fix; `mvn verify -pl maven-resolver-impl` → 629 tests, RAT and Spotless 
clean.


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