Skip to content

Anticipate fixing Kotlin 2.3 compilation warning #36203

@sdeleuze

Description

@sdeleuze

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions