[
https://issues.apache.org/jira/browse/GROOVY-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Sun resolved GROOVY-3683.
--------------------------------
Resolution: Fixed
> groovyc can't joint compile a Java class that uses a delegate method from a
> Groovy class with an @Delegate property annotation
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: GROOVY-3683
> URL: https://issues.apache.org/jira/browse/GROOVY-3683
> Project: Groovy
> Issue Type: Bug
> Components: Compiler, Stub generator / Joint compiler
> Affects Versions: 1.6.4
> Environment: OS X Leopard w/ Java JDK 1.6.0
> Reporter: Scott Murphy
> Assignee: Daniel Sun
> Priority: Major
> Fix For: 7.0.0-alpha-1
>
>
> {code:title=Test.groovy}
> class Test {
> @Delegate TestDelegate test = new TestDelegate(name:"Scott")
> }
> class TestDelegate { String name }
> {code}
> {code:title=TestRun.java}
> public class TestRun {
> public static void main(String args[]) {
> System.out.println(new Test().getName());
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)