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

Interception of constructor with an interface as parameter dosn't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 2.1.2
    • Trigger Injection
    • None
    • Hide

      See above

      Show
      See above

    Description

      When trying to trigger a rule on TCPConnectionMap$TCPConnection, the rule is triggered. However, when I try the constructor which takes an Address (interface), the rule isn't triggered.

      I've attached a self-contained project (andrew.zip) that reproduces the issue. "ant" shows the issue. It will print "CTOR called ****", which is a rule that is triggered.

      If you now open problem.btm, comment 'METHOD<init>' and uncomment 'METHOD <init>(Address)', then the "CTOR called ***" line will *not get printed.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: