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

methodMissing is called twice instead of once

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7-beta-2
    • 1.7-rc-1
    • None
    • None
    • Mac OS X 1.5.8

    Description

      methodMissing should be called only once for a given missing method call. However, when this method throws a MissingMethodException, the methodMissing method is called twice. The method works as expected in Groovy 1.6, but has this odd behavior in Groovy 1.7-beta-2.

      Attachments

        1. MethodMissingShouldBeCalledOnce.groovy
          0.5 kB
          Venkat Srinivasan

        Activity

          People

            roshandawrani Roshan Dawrani
            venkats Venkat Srinivasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: