groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-8529) InvocationWriter also needs fix for calling static interface methods
Date Thu, 13 Dec 2018 10:03:00 GMT

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

Paul King closed GROOVY-8529.
-----------------------------

> InvocationWriter also needs fix for calling static interface methods
> --------------------------------------------------------------------
>
>                 Key: GROOVY-8529
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8529
>             Project: Groovy
>          Issue Type: Task
>    Affects Versions: 2.4.15
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 2.4.16
>
>
> Compiling this code:
> {code}
> @CompileStatic
> class Foo {
>   Comparator byKey() {
>     return Map.Entry.comparingByKey()
>   }
> }
> new Foo().byKey()
> {code}
> Results in a {{Methodref}} not {{InterfaceMethodref}} in the bytecode.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message