[Bug 58577] JMX Proxy Servlet can't handle overloaded methods

2020-01-08 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58577

Christopher Schultz  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Christopher Schultz  ---
I chose to make the simplest possible change for now, which is to check the
argument count. It's not entirely possible to look for the exact right types
because the parameter values come from the request as String values.

With enough code, it might be possible to find a list of candidate methods,
then attempt to convert the parameter strings into the target types for each
one, and see if any of them succeed (or skip the failures) and invoke that
particular type of operation. On the other hand, MBean operations should
probably be designed to avoid such conflicts.

This is fixed in e16472f93659c053f4af20ec5bacc08c342a0b90

Will be in 9.0.31
Will be in 8.5.51
Will be in 7.0.100

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 58577] JMX Proxy Servlet can't handle overloaded methods

2015-11-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=58577

Christopher Schultz  changed:

   What|Removed |Added

Summary|JMX Proxy Servlet can't |JMX Proxy Servlet can't
   |handle overloaded methos|handle overloaded methods

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org