mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-30 03:09:03 +00:00
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