daniellansun opened a new pull request, #3333: URL: https://github.com/apache/groovy/pull/3333
https://issues.apache.org/jira/browse/GROOVY-2807 `GroovyMBean` used to keep a single signature per operation name and parameter count, so same-arity overloads replaced each other. Every overload in that group is now retained. A single candidate is invoked exactly as before. When several overloads share the name and arity, the most specific applicable signature is chosen with Java method-invocation conversion (identity, boxing, primitive widening, and reference subtyping). Swapped parameter lists stay distinct. If no overload is applicable that way, Groovy coercions such as `GString` to `String` or `BigDecimal` to `double` are tried, and only those arguments are converted before the server call. A true tie still uses the last registered operation. `createOperationKey` remains the grouping hook and is still name plus arity. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
