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

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

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

   ## 🚨 TestLens detected 2 failed tests 🚨
   
   Here is what you can do:
   
   1) Inspect the test failures carefully.
   2) If you are convinced that some of the tests are flaky, you can mute them 
below.
   3) Finally, trigger a rerun by checking the rerun checkbox.
   
   ### Test Summary
   
   #### [Build and test / lts \(17, 
macos-latest\)](https://github.com/apache/groovy/actions/runs/28289398835/job/83818716368?pr=2632)
 > :test
   
   | Test | Runs |
   |---|---|
   | GenericsSTCTest > testReturnTypeInferenceWithMethodGenerics18\(\) | ❌ |
   | GenericsSTCTest > testReturnTypeInferenceWithMethodGenerics18a\(\) | ❌ |
   
   🏷️ Commit: bce296220c0cf3f1b904d48490b9d0720472e5f2
   ▶️ Tests:  84965 executed
   🟡 Checks: 9/58 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>GenericsSTCTest > 
testReturnTypeInferenceWithMethodGenerics18()</strong> (:test in <a 
href="https://github.com/apache/groovy/actions/runs/28289398835/job/83818716368?pr=2632";>Build
 and test / lts (17, macos-latest)</a>)</summary>
   
   ```
   org.codehaus.groovy.control.MultipleCompilationErrorsException: startup 
failed:
   TestScriptdc77ba23e4ed4826967456fd0f151989.groovy: 5: unable to resolve 
class ListMultimap<java.lang.String, java.lang.Integer>
    @ line 5, column 43.
                  ListMultimap<String, Integer> mmap = 
ArrayListMultimap.create()
                                                ^
   
   1 error
   
        at 
org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:333)
        at 
org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:989)
        at 
org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:749)
        at 
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:723)
        at 
groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:423)
        at 
groovy.lang.GroovyClassLoader.lambda$parseClass$3(GroovyClassLoader.java:364)
        at 
org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:143)
        at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:364)
        at groovy.lang.GroovyShell.parseClass(GroovyShell.java:665)
        at groovy.lang.GroovyShell.parse(GroovyShell.java:678)
        at groovy.lang.GroovyShell.parse(GroovyShell.java:690)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:552)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:588)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:572)
        at 
groovy.transform.stc.StaticTypeCheckingTestCase.assertScript(StaticTypeCheckingTestCase.groovy:78)
        at 
groovy.transform.stc.GenericsSTCTest.testReturnTypeInferenceWithMethodGenerics18(GenericsSTCTest.groovy:701)
   ```
   
   </details>
   <details>
   
   <summary><strong>GenericsSTCTest > 
testReturnTypeInferenceWithMethodGenerics18a()</strong> (:test in <a 
href="https://github.com/apache/groovy/actions/runs/28289398835/job/83818716368?pr=2632";>Build
 and test / lts (17, macos-latest)</a>)</summary>
   
   ```
   org.opentest4j.AssertionFailedError: Not all expected error messages were 
found, compiler threw these errors : 
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
   TestScript6b68c6063fff40e595cb0e2efd9aa800.groovy: 5: unable to resolve 
class ListMultimap<java.lang.String, java.lang.Integer>
    @ line 5, column 24.
                  def mmap = (ListMultimap<String, Integer>) 
ArrayListMultimap.create()
                             ^
   
   1 error
   
        at org.junit.jupiter.api.Assertions.fail(Assertions.java:142)
        at 
groovy.transform.stc.StaticTypeCheckingTestCase.shouldFailWithMessages(StaticTypeCheckingTestCase.groovy:95)
        at 
groovy.transform.stc.GenericsSTCTest.testReturnTypeInferenceWithMethodGenerics18a(GenericsSTCTest.groovy:719)
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 GenericsSTCTest > testReturnTypeInferenceWithMethodGenerics18\(\) <!

> Replace qdox with javaparser
> ----------------------------
>
>                 Key: GROOVY-12096
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12096
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Priority: Major
>
> QDox status:
> {code:java}
> 2026: Teams relying on QDox should probably migrate to JavaParser, or Spoon, 
> Rewrite, or Roaster which all have active development still. We're not going 
> to make further changes to QDox nor respond to new issues or PRs. {code}
>  
> https://github.com/paul-hammant/qdox



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

Reply via email to