Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-199

Improve trigger injection to disable injection for methods which fail to match a rule while allowing others cases to proceed

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 2.0.1
    • 2.0.0
    • Trigger Injection
    • None

    Description

      When injecting a rule into a given class there may be more than one possible target method for injection. This can happen if the METHOD clause inlcdes a name but no signature. Currently, if one of the candidate methods does not match the rule, say because it mentions a parameter or local variable appropriate only to another candidate, injection is inhibited and an error is notified. It would be better if a warning was posted for mismatched methods and injection were disabled only for those specific methods. This change also requries modifying the offline type checker so it detects and reports these warnings correctly.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: