[ 
https://issues.apache.org/jira/browse/MRESOLVER-321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17689685#comment-17689685
 ] 

Tamas Cservenak commented on MRESOLVER-321:
-------------------------------------------

While this still stands (resolver thread during visiting depNodes cannot be 
interrupted), IMHO this came up as "symptom handling" for MRESOLVER-316 (user 
could not interrupt resolver in endless loop) that is fixed, so am pulling this 
issue out of 1.9.5 for now.

> Resolver while collecting may end up in busy loop without any possibility to 
> be stopped
> ---------------------------------------------------------------------------------------
>
>                 Key: MRESOLVER-321
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-321
>             Project: Maven Resolver
>          Issue Type: Improvement
>          Components: Resolver
>            Reporter: Tamas Cservenak
>            Priority: Major
>
> As reported by users, under some conditions (MRESOLVER-316) resolver is able 
> to spin itself into busy loop, without possibility to stop it (ie. by 
> interrupting the thread of it).
> Example report: [https://github.com/apache/maven-resolver/pull/236]
> The reproducer (until MRESOLVER-316 is fixed) is present in PR above (the 
> demo code and the diff for it).
> While the PR proposes a code change, that is not covering all, as in case of 
> MRESOLVER-316 bug, the endless loop happens in visitor bit (DependencyVisitor 
> visiting DependencyNodes).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to