donsez / jmxsh

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

getOperationsInfo returns only the first method name found #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. jmx_invoke -m ContentApplicationEngine:type=Cache evict

What is the expected output? What do you see instead?
There are two methods with name evict:
1)void evict(String p0)
2) void evict()

Only the first method is recognized.

What version of the product are you using? On what operating system?

Java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Server VM (build 20.5-b03, mixed mode)

Linux 3.2.0-24-generic-pae #39-Ubuntu SMP Mon May 21 18:54:21 UTC 2012 i686 
i686 i386 GNU/Linux

Please provide any additional information below.

In method MBeanOperationInfo getOperationInfo(String server, String mbean, 
String opname) only the first occurrence is found.

Original issue reported on code.google.com by JRRMarti...@gmail.com on 20 Jun 2012 at 11:10