[ 
https://issues.apache.org/jira/browse/MRESOLVER-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomo Suzuki updated MRESOLVER-93:
---------------------------------
    Description: 
PathRecordingDependencyVisitor cannot handle dependency graphs that have 3 or 
more cycles such as below:
 
{code}
gid:a:1 (1)
+- gid:b:0
|  \- ^1
+- gid:b:1
|  \- ^1
\- gid:b:2
   \- ^1
{code}

It fails with StackOverflowError or OutOfMemoryError. [Test 
case|https://github.com/suztomo/maven-resolver/commit/31b24dfe240997861e27661a7540546fbe6e0dab].




  was:
PathRecordingDependencyVisitor cannot handle dependency graphs that have 3 or 
more cycles such as below:
 
{code}
gid:a:1 (1)
+- gid:b:0
|  \- ^1
+- gid:b:1
|  \- ^1
\- gid:b:2
   \- ^1
{code}

It fails with StackOverflowError or OutOfMemoryError.





> PathRecordingDependencyVisitor to handle 3 cycles
> -------------------------------------------------
>
>                 Key: MRESOLVER-93
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-93
>             Project: Maven Resolver
>          Issue Type: Improvement
>          Components: resolver
>    Affects Versions: 1.4.1
>            Reporter: Tomo Suzuki
>            Priority: Major
>
> PathRecordingDependencyVisitor cannot handle dependency graphs that have 3 or 
> more cycles such as below:
>  
> {code}
> gid:a:1 (1)
> +- gid:b:0
> |  \- ^1
> +- gid:b:1
> |  \- ^1
> \- gid:b:2
>    \- ^1
> {code}
> It fails with StackOverflowError or OutOfMemoryError. [Test 
> case|https://github.com/suztomo/maven-resolver/commit/31b24dfe240997861e27661a7540546fbe6e0dab].



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to