[
https://issues.apache.org/jira/browse/GROOVY-11754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18069491#comment-18069491
]
ASF GitHub Bot commented on GROOVY-11754:
-----------------------------------------
paulk-asert commented on PR #2397:
URL: https://github.com/apache/groovy/pull/2397#issuecomment-4152497471
@eric-milles I started reviewing this but have gone on a bit of a tangent
first with PR #2415 and PR #2419. I am unsure whether dealing with those first
gives us a better target for what we should be trying to get in GROOVY_5_0_X.
Thoughts?
> Compilation error: ClassCastException (unnamed module)
> ------------------------------------------------------
>
> Key: GROOVY-11754
> URL: https://issues.apache.org/jira/browse/GROOVY-11754
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 5.0.1
> Reporter: Mattias Reichel
> Assignee: Eric Milles
> Priority: Major
>
> To reproduce:
> {noformat}
> git clone https://github.com/matrei/grails-core.git
> cd grails-core
> git checkout groovy-5 # or 9538ca0c458e08f175e57618d0cefc24b59467f4
> ./gradlew grails-datastore-core:compileTestGroovy{noformat}
>
> {noformat}
> Execution failed for task ':grails-datastore-core:compileTestGroovy'.
> > BUG! exception in phase 'semantic analysis' in source unit
> > '/home/mattias/test/grails-core/grails-datastore-core/src/test/groovy/org/grails/datastore/mapping/model/JpaMappingSyntaxTests.groovy'
> > class org.codehaus.groovy.ast.ClassNode cannot be cast to class org.
> codehaus.groovy.ast.InnerClassNode (org.codehaus.groovy.ast.ClassNode and
> org.codehaus.groovy.ast.InnerClassNode are in unnamed module of loader
> org.gradle.internal.classloader.VisitableURLClassLoader @6cd5cc65) {noformat}
> Build scan: https://ge.grails.org/s/aq37mleqgllxw
--
This message was sent by Atlassian Jira
(v8.20.10#820010)