cstamas opened a new pull request, #207: URL: https://github.com/apache/maven-resolver/pull/207
There are valid cases in Maven when interaction with resolver (that would "lazily" init SyncContext) happens way late, when session is already done readOnly. Fix: adding onCloseHandler should NOT be affected by readOnly state of session, as it merely means it's members like LRM, etc are "fixed", but session data etc are all still mutable. Similarly, due lazy init, some components may way -- as above in valid cases -- register some handler when session is already read only. This change makes all Maven ITs pass with this resolver. -- 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]
