Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in groovydoc task #53

Closed
av-m opened this issue Jun 3, 2018 · 0 comments
Closed

Error in groovydoc task #53

av-m opened this issue Jun 3, 2018 · 0 comments

Comments

@av-m
Copy link
Contributor

av-m commented Jun 3, 2018

Gradle task groovydoc output:

Executing task 'groovydoc'...

line 49:56: unexpected token: >
:groovydoc
ERROR [org.codehaus.groovy.tools.groovydoc.GroovyRootDocBuilder] ignored due to RecognitionException: grails/plugin/cache/GrailsConcurrentLinkedMapCache.java [expecting EOF, found '}']

Error is caused by GROOVY-8628: Groovydoc fails to parse Java static nested classes with diamond operator

I suggest to use explicit type arguments as a workaround until a fix is included in dependency org.codehaus.groovy:groovy.

av-m added a commit to av-m/grails-cache that referenced this issue Jun 3, 2018
* Prevent groovydoc error by using explicit type arguments instead of
  diamond operator
* Revert once a fix for GROOVY-8628 is included in groovy dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants