Skip to content

[BUG] [JAVA] Generated classes no longer contain instantiated lists #4091

@maloef

Description

@maloef

Some time ago, there was a change so that Java lists are instantiated instead of null:

private List<Foo> foos = new ArrayList<>();

instead of

private List<Foo> foos = null;

This was the change that provided instantiated lists: #1683

It worked in version 4.0.0 and 4.1.0, but it no longer works in version 4.1.1 and 4.1.2.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions