donsez / jmxsh

Automatically exported from code.google.com/p/jmxsh
Apache License 2.0
0 stars 0 forks source link

Unable to pass negative number into parameter expecting an integer #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. expose a command who takes an integer paramete [ ie: foo(int arg0) ]
2. call [jmx_invoke -m foo.bar:name=Bam foo -1]

What is the expected output? What do you see instead?
expected: successful update of the mbean
actual: Error: Could not find operation -1

What version of the product are you using? On what operating system?
jmxsh-R5, osx 10.7.5

Please provide any additional information below.
passing in 0 or positive values works as expected. the jmx command is an 
operation, not an attribute.

Original issue reported on code.google.com by chris.c...@riotgames.com on 11 Jul 2013 at 11:11