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

AT INVOKE ignores method parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.1.3
    • 2.1.2
    • Parser/Type Checker
    • None

      In Location$InvokeLocation at line 613 there's this piece of code:

      text=TypeHelper.parseMethodName(text);
      signature = TypeHelper.parseMethodDescriptor(text);
      

      This causes that method name only is parsed into text variable and then, when parsing the signature, this is already stripped from the text.

      There's one more bug at line 589:

      text = text.substring(0, tailIdx).trim();
      

      The final parenthesis is not included which causes the signature parsing to fail as well.

              rhn-engineering-adinn Andrew Dinn
              rvansa1@redhat.com Radim Vansa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: