Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8529

InvocationWriter also needs fix for calling static interface methods

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.15
    • 2.4.16
    • None
    • None

    Description

      Compiling this code:

      @CompileStatic
      class Foo {
        Comparator byKey() {
          return Map.Entry.comparingByKey()
        }
      }
      
      new Foo().byKey()
      

      Results in a Methodref not InterfaceMethodref in the bytecode.

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: