Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Serialization doesn't work with non-static inner classes related to the double brace initialization #1067

Closed

Description

Version

We are using the packages of main branch.

Describe the bug

The problem is during the serialization of non-static inner classes as the double brace initialization creates an extra class every time we use it, having a reference to the outer class. Also, this technique is considered as an anti-pattern.

Screenshots

Advantages vs Disadvantages of using double braces
image

Example of the necessary changes
image

Additional context

Related documentation

Activity

  1. added
    bug
    needs-triage
    on Mar 22, 2021
  2. removed
    needs-triage
    on Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Team: Southworksbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions