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

Inheritance of getProperty method broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.5.7, 1.6-beta-2
    • Fix Version/s: 1.5.7, 1.6-beta-2
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: