spring-framework/spring-core/src
Sébastien Deleuze 441e210533 Treat kotlin.Unit as void in web controllers
This commit fixes a regression introduced by gh-21139
via the usage of Kotlin reflection to invoke HTTP
handler methods. It ensures that kotlin.Unit is treated
as void by returning null.

It also polishes CoroutinesUtils to have a consistent
handling compared to the regular case, and adds related
tests to prevent future regressions.

Closes gh-31648
2023-11-22 13:45:03 +01:00
..
jmh/java/org/springframework Polishing 2023-10-30 15:05:20 +01:00
main Treat kotlin.Unit as void in web controllers 2023-11-22 13:45:03 +01:00
test Treat kotlin.Unit as void in web controllers 2023-11-22 13:45:03 +01:00
testFixtures/java/org/springframework/core/testfixture Polishing 2023-07-19 01:25:20 +02:00