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