Skip to content
This repository has been 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
Batta32 opened this issue Mar 22, 2021 · 0 comments · Fixed by #1103
Assignees
Labels
bug Indicates an unexpected problem or an unintended behavior. Team: Southworks
Milestone

Comments

@Batta32
Copy link
Contributor

Batta32 commented Mar 22, 2021

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

@Batta32 Batta32 added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels Mar 22, 2021
@Batta32 Batta32 self-assigned this Mar 22, 2021
@tracyboehrer tracyboehrer removed the needs-triage The issue has just been created and it has not been reviewed by the team. label Mar 22, 2021
@tracyboehrer tracyboehrer added this to the R13 milestone Mar 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Indicates an unexpected problem or an unintended behavior. Team: Southworks
Projects
None yet
2 participants