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

"super" invocations of abstract methods should be caught at compile time with static compilation enabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.4
    • 4.0.0-rc-1
    • Compiler
    • None

    Description

      When super.baseMethod() is invoked from a derived class, and if the baseMethod is abstract, the compiler does not complain and we get a

      Exception in thread "main" java.lang.AbstractMethodError
      

      despite CompileStatic

      Code attached

      Attachments

        1. bugs.tar.gz
          4 kB
          Abbas Gadhia

        Activity

          People

            emilles Eric Milles
            nerrve Abbas Gadhia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: