mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
46ceedf992
AbstractKotlinSerializationHttpMessageConverter#writeInternal is able to resolve the ResolvableType from the Object parameter when the provided one via the ResolvableType parameter is not resolvable, but AbstractKotlinSerializationHttpMessageConverter#canWrite lacks of such capability. This commit refines AbstractKotlinSerializationHttpMessageConverter#canWrite to resolve the ResolvableType from the Class<?> parameter when the provided one via the ResolvableType parameter is not resolvable. Closes gh-35920