Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.0.6
-
None
Description
if you checkout https://github.com/grails/grails-core/tree/list-plugins-fix
and run ./gradlew install
then use that as your Grails install and if you do:
grails create-app foo cd foo grails compile
You will get:
(class: org/codehaus/groovy/grails/resolve/maven/aether/AetherDependencyManager, method: super$1$resolve signature: ()Lorg/codehaus/groovy/grails/resolve/DependencyReport;) Illegal use of nonvirtual function call java.lang.VerifyError: (class: org/codehaus/groovy/grails/resolve/maven/aether/AetherDependencyManager, method: super$1$resolve signature: ()Lorg/codehaus/groovy/grails/resolve/DependencyReport;) Illegal use of nonvirtual function call
if you open up AbstractDependencyManager and uncomment the @CompileStatic
run ./gradlew install again
you will get the strange compilation error:
[ant:groovyc] /Developer/grails-dev/grails-master/grails-aethe [ant:groovyc] r/src/main/groovy/org/codehaus/groovy/grails/resolve/maven/aether/AetherDependencyManager.groovy: -1: You are not allowed to ove [ant:groovyc] rride the final method pfaccess$0() from class 'org.codehaus.groovy.grails.resolve.AbstractDependencyManager'. [ant:groovyc] Ãâà@ line -1, colum [ant:groovyc] n -1. [ant:groovyc] 1 error