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

Karl Heinz Marbaise commented on MNG-6907:
------------------------------------------

Can you give a more detailed description what exactly the problem is..not in 
code; Maybe you can describe the situation in your pom files...so might create 
an example...

> endless loop in StringSearchModelInterpolator
> ---------------------------------------------
>
>                 Key: MNG-6907
>                 URL: https://issues.apache.org/jira/browse/MNG-6907
>             Project: Maven
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.6.3
>            Reporter: Michael Keppler
>            Priority: Major
>
> I have some company confidential projects (therefore no reproduction pom), 
> which cause an endless loop when running
> mvn versions:display-plugin-updates
> The endless loop happens in 
> [StringSearchModelInterpolator.traverseObjectWithParents|https://github.com/apache/maven/blob/5397fb66e7ea45dd756cd48c18f7dc476e2a06a6/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java#L176]
>  calling itself (which I can see by attaching a profiler to the process). 
> Please add a check for whether the superClass is identical to the class, 
> before entering the recursion.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to