Hi Joe,

I think the best way is to save your submission as a patch file (using diff), 
then create a Bugzilla entry for the bug, and attach the patch.

"Jakarta Commons Developers List" <[email protected]> wrote:

> 
> --=_alternative 004F796185257005_=
> Content-Type: text/plain; charset="US-ASCII"
> 
> Hi there,
> 
> I just submitted a critical bug (#34959) for commons-modeler. Here's the 
> description:
> 
> Bug ID: 34959
> Summary: Overloaded operations throw "wrong number of parameters" 
> exception
> 
> Description:
> If a model MBean has an overloaded operation (an operation with two or 
> more signatures), 
> only one of them can be successfully invoked at runtime. Invoking others 
> will throw 
> "Wrong number of parameters" exception.
> 
> Through initial investigation, I have found out the cause of the problem:
> 
> Class org.apache.commons.modeler.BaseModelMBean internally stores and 
> caches
> operations in a hashmap. The key to the hashmap is the operation name. 
> Therefore,
> if an operation has multiple signatures, only one of them (the first one 
> loaded) is stored
> in the hashmap. Invoking the same method with a different signature will 
> cause
> "wrong number of parameters" exception.
> 
> I have been using Apache commons libraries for years and would like to 
> contribute something back to the 
> community. Can someone tell me how to become a volunteer for bug fixing?
> 
> Thanks,
> 
> Joe Hu
> Staff Software Engineer - Architect
> ITSG
> 
> Sybase Inc.
> 561 Virginia Rd.
> Concord, MA 01742
> Phone: 978-287-1567
> --=_alternative 004F796185257005_=--
> 



_________________________________________________________________
Sign up for eircom broadband now and get a free two month trial.*
Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to