Skip to content

Relax GraalVM checks in DefaultParameterNameDiscoverer #24600

@sbrannen

Description

@sbrannen

Status Quo

DefaultParameterNameDiscoverer does not register any default discoverers when running within a GraalVM native image; however, the LocalVariableTableParameterNameDiscoverer works properly given appropriate entries in the resource-config.json and reflect-config.json GraalVM native image configuration files.

Though not yet verified, StandardReflectionParameterNameDiscoverer may potentially work in a current (or future) GraalVM release.

Proposal

We should relax the checks performed in DefaultParameterNameDiscoverer in order to give LocalVariableTableParameterNameDiscoverer and StandardReflectionParameterNameDiscoverer a chance to work.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions