Details

    • Type: Sub-task Sub-task
    • Status: 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

      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

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

        implementes

        Show
        Jochen Theodorou added a comment - implementes
        Jochen Theodorou made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.9-beta-2 [ 17494 ]
        Assignee Jochen Theodorou [ blackdrag ]
        Fix Version/s 1.8.2 [ 17495 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12733493 ] Default workflow, editable Closed status [ 12745226 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12970990 ] Default workflow, editable Closed status [ 12978770 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        267d 9h 22m 1 Jochen Theodorou 29/Aug/11 15:08

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development