groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor E. Poteryaev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-8172) CLONE for 2_4_X backport - joint compiler fails to compile groovy class implemented java interface
Date Thu, 23 Nov 2017 07:44:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Igor E. Poteryaev updated GROOVY-8172:
--------------------------------------
    Affects Version/s: 2.4.12
                       2.4.13

> CLONE for 2_4_X backport - joint compiler fails to compile groovy class implemented java
interface
> --------------------------------------------------------------------------------------------------
>
>                 Key: GROOVY-8172
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8172
>             Project: Groovy
>          Issue Type: Bug
>          Components: Stub generator / Joint compiler
>    Affects Versions: 1.8.6, 2.2.2, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7,
2.4.6, 2.4.8, 2.4.9, 2.4.10, 2.4.11, 2.4.12, 2.4.13
>         Environment: linux x86-64
> oracle jdk 1.6.0.45, oracle jdk 1.8.0.121
>            Reporter: Igor E. Poteryaev
>            Priority: Minor
>         Attachments: groovy-joint-compiler-bug-again.tar, groovy-joint-compiler-bug.tar
>
>
> When groovy class implements java interface located in other package with method returning
array of java objects (not primitive), joint compilation fails with org.codehaus.groovy.control.MultipleCompilationErrorsException
> Running joint compiler again compiles this groovy class successfully.
> Attached file contains example files and script to run groovyc in joint compiler mode.

> Run ./joint-compile.sh - MultipleCompilationErrorsException
> Run it again - success.
> To reproduce please remove created *.class files
> Reproduced - always.
> Workaround: add package name of returned java class to groovy method 
> {code}
>     public foo.JavaDataObject[] ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message