[
https://issues.apache.org/jira/browse/GROOVY-6814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430238#comment-15430238
]
Paul King edited comment on GROOVY-6814 at 8/22/16 7:22 AM:
------------------------------------------------------------
The files compiled for me just using "groovyc p2\\*.groovy" on 2.4.7 so I'll
close this. I was using windows but swapping the slash should be good enough on
unix-style systems.
was (Author: paulk):
The files compiled for me just using "groovyc p2\*.groovy" on 2.4.7 so I'll
close this. I was using windows but swapping the slash should be good enough on
unix-style systems.
> Compilation error only occurs with Groovy 2.3.1
> -----------------------------------------------
>
> Key: GROOVY-6814
> URL: https://issues.apache.org/jira/browse/GROOVY-6814
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 2.3.1, 2.4.5
> Reporter: Alex Boyko
> Attachments: TestProject_JIRA1718.zip
>
>
> All .groovy classes used to compile with all Groovy 2.x versions up to 2.3.
> With 2.3.1 LinkingRenderer class doesn't compile any more.
> The error is:
> {noformat}
> org.codehaus.groovy.control.MultipleCompilationErrorsException: startup
> failed:
> LinkingRenderer.groovy: 19: [Static type checking] - Cannot call p2.Renderer
> <java.lang.Object>#render(java.lang.Object <java.lang.Object>,
> java.lang.String) with arguments [T, java.lang.String]
> @ line 19, column 3.
> htmlRenderer.render(object, context)
> ^
> 1 error
> {noformat}
> Java for a similar project gives a warning about using raw types instead of
> parameterized.
> (Perhaps this is not a defect)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)