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

Maps of closures coercion to classes fails with non-overriding methods, protected methods, and with arrays parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1-rc-1
    • 1.1-rc-2
    • None
    • None

    Description

      The map of closures coercion to classes mechanism has some flows.
      The groovy code generated has syntax errors for methods not overriding any other method.
      Only public methods can be overridden.
      Furthermore, the mechanism won't work when using arrays as the simple name of classes are used ( [java.langString, etc... instead of String[])

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: