Even if Spring Framework 7.0.x will keep using a dependency on Kotlin 2.2, an attempt to compile main with Kotlin 2.3 has revealed some warning that are detecting meaningful issues worth to fix:
- Using
Any::class.java instead of Object::class.java
- Use
<T : Any> instead of <T> where the related code is null-marked and non-null