Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
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.
Attachments
Issue Links
- is cloned by
-
GROOVY-11237 Support static interface methods
- Closed
- is related to
-
GROOVY-8299 Generate bytecode for interface with default, private and static methods
- Closed
- links to