Skip to content
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

Jetty 12.0.x xmlconfig prefers interfaces #11901

Draft
wants to merge 3 commits into
base: jetty-12.0.x
Choose a base branch
from

Conversation

janbartel
Copy link
Contributor

Fixes #11895.

Tentative fix to improve ordering of method matches so that:

  • methods with fewer args are preferred
  • methods with primitive args are preferred
  • methods with non-varargs are preferred
  • methods with class args (that are not the Object.class) are preferred
  • methods with interface args or class args preference the most derived type

@janbartel janbartel self-assigned this Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

XmlConfiguration should prefer exact class match rather than interface match
1 participant