-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XmlConfiguration constructor selection based on number of arguments #4550
Comments
gregw
added a commit
that referenced
this issue
Feb 6, 2020
Fixed #4550 named parameters with a moderate refactor. The named parameter matching was duplicated, only considering number of args and not applied to call arguments. This refactor puts all the behaviour in common methods and reorders the arguments to match parameters. Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw
added a commit
that referenced
this issue
Feb 6, 2020
Do not match a missing varArgs executable is there is a matching method with no varArgs. Signed-off-by: Greg Wilkins <gregw@webtide.com>
@gregw what's this issue about? The link to the issue seems wrong. |
Reopening as 9.4.27 version on PR #4553 is not merged yet. |
sbordet
added a commit
that referenced
this issue
Feb 20, 2020
…on-named-args Fixes #4550 XmlConfiguration named parameters
gregw
added a commit
that referenced
this issue
Feb 22, 2020
Improve argument matching by: + rejecting obviously non matches (with allowance for unboxing) + sorting methods so that derived arguments are tried before more generic (eg String before Object) Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw
added a commit
that referenced
this issue
Feb 22, 2020
Improve argument matching by: + can unbox from any Number to any Number Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw
added a commit
that referenced
this issue
Feb 24, 2020
gregw
added a commit
that referenced
this issue
Feb 24, 2020
gregw
added a commit
that referenced
this issue
Feb 25, 2020
gregw
added a commit
that referenced
this issue
Feb 25, 2020
gregw
added a commit
that referenced
this issue
Feb 25, 2020
gregw
added a commit
that referenced
this issue
Feb 25, 2020
* Issue #4550 XmlConfiguration argument matching Improve argument matching by: + rejecting obviously non matches (with allowance for unboxing) + sorting methods so that derived arguments are tried before more generic (eg String before Object) Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #4550 XmlConfiguration argument matching Improve argument matching by: + can unbox from any Number to any Number Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #4550 Do not check the assignability of the arguments. Instead rely on the order of the methods. Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #4550 unbox test no longer required Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #4550 Simplified test Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #4550 Cleanup comparator Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue #4550 Cleanup comparator Signed-off-by: Greg Wilkins <gregw@webtide.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version
9.4.x, 10.0.x
Java version
Perc Virtual Machine
See comment on #4086 regarding arguments
The text was updated successfully, but these errors were encountered: