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

Can't call default getProperty() implementation from Java subclass

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-4
    • None
    • None

    Description

      GroovyClass.groovy
      class GroovyClass {}
      
      JavaClass.java
      class JavaClass extends GroovyClass { 
          @Override
          public Object getProperty(String propertyName) {
              return super.getProperty(propertyName); 
              // error: cannot find symbol: method getProperty(String)
          }
      }
      

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              daniilo Daniil Ovchinnikov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: