3 Replies Latest reply on May 24, 2012 4:49 AM by kuniim

    Submit#listAllRules returns wrong method name

    kuniim

      Hi

       

      I found that Submit#listAllRules returns method names with missing the last character.

      For example, the trigger method name in the result of bmsubmit.sh shoud be " test.Target.doSomething(java.lang.String) void" but it is "doSomethin" now.

       

      [root@client bin]# ./bmsubmit.sh
      # File testRule.btm line 5
      RULE test_rule
      CLASS Target
      METHOD doSomething
      AT ENTRY
      IF true
      DO debug("test");
      ENDRULE
      Transformed in:
      loader: sun.misc.Launcher$AppClassLoader@6ba7bf11
      trigger method: test.Target.doSomethin(java.lang.String) void
      
      

       

       

      I attached the patch and testcase. Could someone check them out?

       

      Thanks,

      Masao