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

Compiler incorrectly generating bridge methods

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.6.4, 1.6.5
    • Fix Version/s: 1.6.5, 1.7-beta-2
    • Component/s: None
    • Labels:
      None

      Description

      In the code below:

      public class GroovyBean {
      @Lazy volatile String foo =

      { ['some','items','in','the','lists'] }

      ()
      }

      The compiler generates get$foo and set$foo methods. Both of these are marked as bridge methods which is incorrect because they are not actually bridge methods at all.

        Attachments

          Activity

            People

            • Assignee:
              roshandawrani Roshan Dawrani
              Reporter:
              robharrop Rob Harrop
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: