Skip to content

Replace org.springframework.core.LocalVariableTableParameterNameDiscoverer which was deprecated with org.springframework.core.DefaultParameterNameDiscoverer #1958

Closed
@krupt

Description

@krupt

Started from Spring Framework 6.0.1 org.springframework.core.LocalVariableTableParameterNameDiscoverer became deprecated and spring doc uses it. In logs we have a lot of warnings:
2022-11-26 10:30:45.675 WARN --- [ XNIO-1 task-5] ocalVariableTableParameterNameDiscoverer : Using deprecated '-debug' fallback for parameter name resolution. Compile the affected code with '-parameters' instead or avoid its introspection: controller.UserController

Spring Boot 3 uses org.springframework.core.DefaultParameterNameDiscoverer and has no problem with it.
I don't mind to fix it if you'd provide guideline how to do it in your project.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions