Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0-alpha-4
    • Compiler
    • 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

          Activity

            People

              paulk Paul King
              chrylis Christopher Smith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: