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

Grails 7: groovydoc/JavaParser - ignored errors parsing Java source file #13667

Closed
jamesfredley opened this issue Sep 21, 2024 · 2 comments · Fixed by #13653
Closed

Grails 7: groovydoc/JavaParser - ignored errors parsing Java source file #13667

jamesfredley opened this issue Sep 21, 2024 · 2 comments · Fixed by #13653
Assignees

Comments

@jamesfredley
Copy link
Contributor

Issue description

> Task :groovydoc
Attempting to ignore error parsing Java source file: org/grails/compiler/injection/EntityASTTransformation.java
Consider reporting the error to the Groovy project: https://issues.apache.org/jira/browse/GROOVY
... or directly to the JavaParser project: https://github.com/javaparser/javaparser/issues
Error: (line 46,col 15) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 46,col 64) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 50,col 55) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.


> Task :grails-test-suite-uber:isolatedTestsTwo

> Task :grails-core:groovydoc
Attempting to ignore error parsing Java source file: org/grails/compiler/injection/EntityASTTransformation.java
Consider reporting the error to the Groovy project: https://issues.apache.org/jira/browse/GROOVY
... or directly to the JavaParser project: https://github.com/javaparser/javaparser/issues
Error: (line 46,col 15) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 46,col 64) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 50,col 55) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.


> Task :grails-databinding:groovydoc
Trying to override old definition of task fileScanner

> Task :grails-dependencies:groovydoc NO-SOURCE

> Task :groovydoc
Attempting to ignore error parsing Java source file: org/grails/web/mapping/DefaultUrlMappingEvaluator.java
Consider reporting the error to the Groovy project: https://issues.apache.org/jira/browse/GROOVY
... or directly to the JavaParser project: https://github.com/javaparser/javaparser/issues
Error: (line 151,col 13) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 599,col 29) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 641,col 29) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line [707](https://github.com/grails/grails-core/actions/runs/10975588769/job/30475414832?pr=13653#step:4:710),col 45) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 732,col 21) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 744,col 21) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
(line 1082,col 21) Use of patterns with instanceof is not supported. Pay attention that this feature is supported starting from 'JAVA_14' language level. If you need that feature the language level must be configured in the configuration before parsing the source files.
@jamesfredley
Copy link
Contributor Author

Resolved by a926e13

@jamesfredley
Copy link
Contributor Author

jamesfredley commented Sep 22, 2024

@matrei Thank you for fixing these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants