[
https://issues.apache.org/jira/browse/GROOVY-11907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18071814#comment-18071814
]
ASF GitHub Bot commented on GROOVY-11907:
-----------------------------------------
eric-milles commented on PR #2443:
URL: https://github.com/apache/groovy/pull/2443#issuecomment-4202458531
I'm going to try with spock; I'm in the middle of a long test run, so I
cannot drop it in just yet. I'm not sure why the helper needs dynamic
resolution; I must be missing something. But maybe the `getClass()` call could
just be primed with the target method from `Object`. Otherwise "$static$self
instanceof Class ? $staticSelf : $static$self.getClass()" could be
"$static$self instanceof Class self ? self : $static$self.getClass()"
> 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)