Skip to content

Register Kotlin support after Java support in DefaultParameterNameDiscoverer #30052

@sbrannen

Description

@sbrannen

DefaultParameterNameDiscoverer currently registers KotlinReflectionParameterNameDiscoverer (if Kotlin reflection support is present on the classpath) first, before StandardReflectionParameterNameDiscoverer.

However, since Spring Framework primarily targets Java based applications and libraries, we should register StandardReflectionParameterNameDiscoverer before KotlinReflectionParameterNameDiscoverer in order to optimize for common use cases (even if the optimization is only minimal).

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytheme: kotlinAn issue related to Kotlin supporttype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions