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

Error in documentation example for stack managementbuilty-in helper methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.3
    • 2.0.1
    • Documentation
    • None

      In the byteman docs, Section "Stack Management Operations"/"Checking the Call Tree", the example given at the start of the section is incorrect.

      It uses: callerEquals("myOtherClass.handleIncoming") This should be either callerEquals("handleIncoming") or callerEquals("myOtherClass.handleIncoming", true)

      As is, the example will never run since it's passing a class name, but the default behavior is to only compare to the method name.

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

                Created:
                Updated:
                Resolved: