Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
3.12.0
Description
After upgrading from 3.11 to 3.12 some Unit Tests of mine were failing.
I tracked this back to an undocumented change in lang3:
MethodUtils#getMatchingMethod is behaving differently.
Previously, it returned the closest match when no exact match could be found.
Now, it throws an IllegalStateException when there is no unique result.
It would have saved me some time if this had been noted in the change notes.
Not quite sure where to bring this up or whether this qualifies as a bug, but I hope I'm helping by mentioning it here.