You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/12/13 10:03:00 UTC
[jira] [Closed] (GROOVY-8529) InvocationWriter also needs fix for
calling static interface methods
[ 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)