Skip to content

Spring Boot profile groups with recursive references end up in endless loop #24319

@raphw

Description

@raphw

While migrating conigurations to Spring Boot 2.4, I accidentally ended up with something like:

spring.profiles.group.myprofile: myprofile, other

The JVM failed to start with an out of memory error, I assume that this ends up in a recursive loop. I suggest that the recursive definition should yield and error or be ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions