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

Bit shift operators within action expression result in parse errors

    Details

      Description

      An expression like this one:

      System.out.println("IM=" + Integer.valueOf(($foo & $bar) >> Integer.numberOfTrailingZeros($abc)));
      

      in a rule, fails to parse due to the presence of bit shift operators.

      The referenced forum thread has more details.

        Gliffy Diagrams

          Activity

          Hide
          adinn Andrew Dinn added a comment -

          Fixed and test case provided
          Also fixed some errors in bit OR/AND/XOR at the same time.

          Show
          adinn Andrew Dinn added a comment - Fixed and test case provided Also fixed some errors in bit OR/AND/XOR at the same time.
          Hide
          adinn Andrew Dinn added a comment -

          to set fix version

          Show
          adinn Andrew Dinn added a comment - to set fix version
          Hide
          adinn Andrew Dinn added a comment -

          Updated admin fields

          Show
          adinn Andrew Dinn added a comment - Updated admin fields

            People

            • Assignee:
              adinn Andrew Dinn
              Reporter:
              jaikiran jaikiran pai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development