Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify behavior for generics support in BeanUtils.copyProperties()
Since Spring Framework 5.3, BeanUtils.copyProperties() honors generics in the source and target property types (see gh-24187); however, this refinement of the contract was not properly documented prior to this commit. In addition, the refinement can be a breaking change for users who were relying on the previous unreliable behavior. This commit therefore clarifies the behavior for generics support in BeanUtils.copyProperties() and introduces a table of example matches and mismatches when generics are involved. Closes gh-27259
- Loading branch information
Showing
2 changed files
with
209 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters