Details

    • Type: Sub-task Sub-task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.2, 1.9-beta-3
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      class A extends Closure {
        A(Object o) {
          super (o)
        }
      }
      

      In this case we create a selectAndtransform version for selecting the constructor call, even though it Closure has only one constructor taking one argument and this constructor takes Object, so is surely fitting for o, which is Object as well. Instead a direct constructor call should be done.

      This will improve speed and decrease bytecode bloat.

        Activity

        blackdrag blackdrag made changes -
        Field Original Value New Value
        Fix Version/s 1.8-beta-4 [ 17015 ]
        Fix Version/s 1.8-beta-3 [ 16750 ]
        blackdrag blackdrag made changes -
        Parent GROOVY-3951 [ 103036 ]
        Issue Type Improvement [ 4 ] Sub-task [ 7 ]
        blackdrag blackdrag made changes -
        Fix Version/s 1.8-beta-4 [ 17015 ]
        Hide
        blackdrag blackdrag added a comment -

        implementes

        Show
        blackdrag blackdrag added a comment - implementes
        blackdrag blackdrag made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Jochen Theodorou [ blackdrag ]
        Fix Version/s 1.8.2 [ 17495 ]
        Fix Version/s 1.9-beta-2 [ 17494 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            blackdrag blackdrag
            Reporter:
            blackdrag blackdrag
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: