Skip to content

Recursive property in @ConfigurationProperties causes java.lang.StackOverflowError when generating metadata #18365

@DaiZZZZZ

Description

@DaiZZZZZ

Class A has member of Type A,if A is annotated with @ConfigurationProperties and lombok.Data together a java.lang.StackOverflowError will happen.

For example:

@ConfigurationProperties("prefix")
@Data
public class A {

   A m;

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions