Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1979

Changing the implementation of a method after adding method advice does not work; the original implementation remains

    Details

      Description

      This is too easy to do when you have a chain of PlasticClassTransformers operating on the same classes.

      Alternately, the advised method, not the main method (that instantiates the Invocation object)n should be the one that is rewritten.

      The issue here is that Plastic takes a snapshot of the method implementation when the first advice is added, and that snapshot is not updated if the advised method implementation is later changed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hlship Howard M. Lewis Ship
                Reporter:
                hlship Howard M. Lewis Ship
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: