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

AT INVOKE ignores method parameters

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adinn Andrew Dinn
                Reporter:
                rvansa Radim Vansa
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: