[
https://issues.apache.org/jira/browse/GROOVY-11237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17794352#comment-17794352
]
Eric Milles commented on GROOVY-11237:
--------------------------------------
https://github.com/apache/groovy/commit/4a8e0eec270fcc860a7df4650b261ebe092d9b88
> Support static interface methods
> --------------------------------
>
> Key: GROOVY-11237
> URL: https://issues.apache.org/jira/browse/GROOVY-11237
> Project: Groovy
> Issue Type: Sub-task
> Components: Compiler
> Reporter: Christopher Smith
> Assignee: Paul King
> Priority: Major
> Fix For: 5.0.0-alpha-4
>
>
> Apologies if this is a dupe, but I went back as far as 6000, and GROOVY-8299
> is the only relevant ticket I saw.
> Since Java 8, interfaces can carry static methods like classes. Groovy still
> (as of 3.0.8) does not support adding static methods to interfaces.
> {code}
> The method 'java.lang.String dynamoTableNameForType(java.lang.String)' from
> interface 'com.example.HasDynamo' must not be static. Only fields may be
> static in an interface.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)