]
jaikiran pai resolved EJBTHREE-1677.
------------------------------------
Fix Version/s: 1.1.2
Resolution: Done
Incorrect handling of overloaded methods in ServiceMBeanDelegate
----------------------------------------------------------------
Key: EJBTHREE-1677
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1677
Project: EJB 3.0
Issue Type: Bug
Components: core
Affects Versions: 1.0.0-Beta11
Environment: JBossAS-4.2.x, JBossAS-5.0 GA
Reporter: jaikiran pai
Assignee: jaikiran pai
Fix For: 1.1.2
When a @Service is exposed through a @Management interface and the management interface
has overloaded methods, then there are chances of invoking an incorrect method. See the
forum reference thread for details.
The ServiceMBeanDelegate maintains a Map of signature --> Method, but looks it up
incorrectly
private Method getOperation(String actionName, String[] signature) throws
ReflectionException
{
String opSig = getOperationSignature(actionName, signature);
Method operation = operations.get(actionName); // Incorrect lookup : should be
looking up using opSig
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: