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

ASF GitHub Bot commented on GROOVY-11521:
-----------------------------------------

testlens-app[bot] commented on PR #3074:
URL: https://github.com/apache/groovy/pull/3074#issuecomment-6479820099

   ## 🚨 TestLens detected 1 failed test 🚨
   
   ### Test Summary
   > [!TIP]
   > Inspect all details with the [TestLens 
CLI](https://testlens.app/docs/features/cli): `testlens pr 3074`
   
   #### [Build and test / lts \(17, 
macos-latest\)](https://github.com/apache/groovy/actions/runs/40761791541/job/123075345483?pr=3074)
 > :test
   
   | Test | Runs | Flakiness |
   |---|---|--:|
   | RecordSpecificationTest > testGenerics\(\) | ❌ | 0% 🟢 |
   
   🏷️ Commit: 01c2d60c0cbc0c02d5af7a12cbaaea6016595704
   ▶️ Tests:  3803 executed
   🟡 Checks: 1/30 completed
   
   ### Test Failures
   
   <details><summary><strong>RecordSpecificationTest > testGenerics()</strong> 
(:test in <a 
href="https://github.com/apache/groovy/actions/runs/40761791541/job/123075345483?pr=3074";>Build
 and test / lts (17, macos-latest)</a>)</summary>
   
   ```
   java.lang.StackOverflowError
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.correctToGenericsSpecRecurse(GenericsUtils.java:471)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.reapplyWildcard(GenericsUtils.java:532)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.correctToGenericsSpecRecurse(GenericsUtils.java:509)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.reapplyWildcard(GenericsUtils.java:532)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.correctToGenericsSpecRecurse(GenericsUtils.java:509)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.reapplyWildcard(GenericsUtils.java:532)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.correctToGenericsSpecRecurse(GenericsUtils.java:509)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.reapplyWildcard(GenericsUtils.java:532)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.correctToGenericsSpecRecurse(GenericsUtils.java:509)
        at 
org.codehaus.groovy.ast.tools.GenericsUtils.reapplyWildcard(GenericsUtils.java:532)
        at org.codehaus.groovy.as…
   ```
   
   </details>
   
   ### Rerun Controls
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 RecordSpecificationTest > testGenerics\(\) <!

> GenericsUtils parameterizeType fails to propagate wildcard generics
> -------------------------------------------------------------------
>
>                 Key: GROOVY-11521
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11521
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Assignee: Daniel Sun
>            Priority: Major
>
> Given a class node like "java.util.ArrayList<? extends java.lang.Number>", 
> calling {{GenericsUtils.parameterizeType(arrayList, list)}} produces 
> "java.util.List<java.lang.Number>".  The wildcard has been lost.
> This method is used in STC and elsewhere.
> GROOVY-8084, GROOVY-9074, GROOVY-9891



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to