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

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

paulk-asert commented on PR #2451:
URL: https://github.com/apache/groovy/pull/2451#issuecomment-4220575281

   Your fix seems to also work. Without the fix I get:
   
   ```
     Caused by: java.lang.AssertionError
           at groovyjarjarasm.asm.Frame.putAbstractType(Frame.java:1482)
           at 
groovyjarjarasm.asm.MethodWriter.putAbstractTypes(MethodWriter.java:1961)
           at groovyjarjarasm.asm.MethodWriter.putFrame(MethodWriter.java:1920)
           at 
groovyjarjarasm.asm.MethodWriter.visitFrameEnd(MethodWriter.java:1852)
           at groovyjarjarasm.asm.Frame.accept(Frame.java:1405)
           at 
groovyjarjarasm.asm.MethodWriter.computeAllFrames(MethodWriter.java:1630)
           at groovyjarjarasm.asm.MethodWriter.visitMaxs(MethodWriter.java:1548)
           at 
org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorOrMethod(AsmClassGenerator.java:624)
           ... 44 more
   ```
           
   With the fix, the following command works (I didn't try the full build):
   
       $ ./gradlew :grails-geb:compileTestFixturesGroovy
   
   The test task also completes successfully on GROOVY_5_0_X with your fix in 
place. I am happy to close my proposed fix unless you think there is more to 
check.




> SC: trait static field helper generates invalid bytecode when method-level 
> DYNAMIC_RESOLUTION is present (GROOVY-11817 regression) 
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-11907
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11907
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Paul King
>            Priority: Major
>
> This is to track the *_grails-geb testFixtures_* error discussed here:
> [Canary] Grails 8 on Groovy 5 + Spring Boot 4 integration branch
> https://github.com/apache/grails-core/pull/15557



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

Reply via email to