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

Inheritance of getProperty method broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.5.7, 1.6-beta-2
    • 1.5.7, 1.6-beta-2
    • None
    • None

    Description

      This scripts throws an MPE in the current 1.6 and 1.5.7 SVN heads:

      class Foo {
       def getProperty(String name) {
         println name
       }
      }
      class Bar extends Foo{}
      def bar = new Bar()
      bar.foo
      

      It used to work in 1.5.6 and 1.6 beta 1

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              graemerocher Graeme Rocher
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: