spring-framework/spring-core
Sam Brannen cb6a5baac5 Support conversion from primitive array to Object[] in ConversionService
Prior to this commit, the ConversionService failed to convert a primitive
array (such as int[]) to an Object[] due to an error in the logic in
ArrayToArrayConverter.

This commit addresses this by augmenting the "can bypass conversion"
check in ArrayToArrayConverter to ensure that the supplied source object
is an instance of the target type (i.e., that the source array can be
cast to the target type array without conversion).

Closes gh-33212
2024-08-04 17:13:56 +03:00
..
src Support conversion from primitive array to Object[] in ConversionService 2024-08-04 17:13:56 +03:00
spring-core.gradle Add ContextPropagatingTaskDecorator 2023-08-29 11:21:47 +02:00