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

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

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

   ## 🚨 TestLens detected 1 failed test 🚨
   
   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, 
ubuntu-latest\)](https://github.com/apache/groovy/actions/runs/28990440506/job/86028814177?pr=2670)
 > :groovy-json:test
   
   | Test | Runs |
   |---|---|
   | Groovy9802 > test\(\) | ❌ |
   
   🏷️ Commit: 19d37dbc56309907839ea9366076c861b5a7219c
   ▶️ Tests:  23425 executed
   🟡 Checks: 5/29 completed
   
   ### Test Failures
   
   <details>
   
   <summary><strong>Groovy9802 > test()</strong> (:groovy-json:test in <a 
href="https://github.com/apache/groovy/actions/runs/28990440506/job/86028814177?pr=2670";>Build
 and test / lts (17, ubuntu-latest)</a>)</summary>
   
   ```
   java.util.concurrent.CompletionException: 
org.apache.groovy.json.internal.Exceptions$JsonInternalException: unexpected 
character :
        at 
java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
        at 
java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
        at 
java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:649)
        at 
java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
        at 
java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
        at 
java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:844)
        at 
java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
        at 
java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at 
java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1193)
        at 
java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1666)
        at 
java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1633)
        at 
java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
   Caused by: org.apache.groovy.json.internal.Exceptions$JsonInternalException: 
unexpected character :
        at org.apache.groovy.json.internal.Exceptions.die(Exceptions.java:52)
        at 
org.apache.groovy.json.internal.CharScanner.parseJsonNumber(CharScanner.java:492)
        at 
org.apache.groovy.json.internal.JsonParserCharArray.decodeNumber(JsonParserCharArray.java:253)
        at 
org.apache.groovy.json.internal.JsonParserCharArray.decodeValueInternal(JsonParserCharArray.java:238)
        at 
org.apache.groovy.json.internal.JsonParserCharArray.decodeValue(JsonParserCharArray.java:225)
        at 
org.apache.groovy.json.internal.JsonParserCharArray.decodeFromChars(JsonParserCharArray.java:61)
        at 
org.apache.groovy.json.internal.JsonParserCharArray.parse(JsonParserCharArray.java:465)
        at 
org.apache.groovy.json.internal.BaseJsonParser.parse(BaseJsonParser.java:277)
        at groovy.json.JsonSlurper.parseText(JsonSlurper.java:261)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:503)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:298)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1333)
        at 
groovy.lang.MetaClassImpl.invokeMethodClosure(MetaClassImpl.java:1118)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1209)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1108)
        at groovy.lang.Closure.call(Closure.java:563)
        at 
org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:55)
        at 
org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:115)
        at jdk.proxy2/jdk.proxy2.$Proxy43.apply(Unknown Source)
        at 
java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
        ... 9 more
   ```
   
   </details>
   
   ### Muted Tests
   > [!NOTE]
   > Checks are currently running using the configuration below.
   
   Select tests to mute in this pull request:
   
   🔲 Groovy9802 > test\(\) <!

> @Delegate regression: fails to skip a final method inherited from a 
> precompiled superclass
> ------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-12134
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12134
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 5.x
>            Reporter: James Daugherty
>            Priority: Major
>
> I'm upgrading the Grails Spring Security plugin to Groovy 5 and noticed 
> compilation was failing with an `@Delegate` involving a final method.  
>  
> Reproducer project is here: 
> [https://github.com/jdaugherty/groovy-final-delegate-bug] 
>  
> As a work around, ignoring the method manually makes compile succeed.
> h1.  



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

Reply via email to