[
https://issues.apache.org/jira/browse/MNG-6907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17133755#comment-17133755
]
Sylwester Lachiewicz commented on MNG-6907:
-------------------------------------------
With MNG-6697 this class is deprecated and should not be injected to
versions:display-plugin-updates Mojo. Can you check if this is really a problem
with Maven 3.6.3? Maybe you can add some debug logs to catch what exact Class
is equal to superClass in this code?
> 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
> Fix For: 3.7.0-candidate
>
>
> 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)