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

Boolean comparisons give incorrect results

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.1.3
    • None
    • None
    • None

    Description

      Comparisons of boolean (or even Boolean) expressions fail to return the right result. For example, this rule fires even when $! is true

      RULE check return result is true
      CLASS MyClass
      METHOD myMethod(int)
      AFTER CALL MyClass.myOddMethod 2
      IF $! != true
      DO THROW new RuntimeException("expected result true!")
      ENDRULE

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: