Skip to content

IdentityHashSet for JSONObject cycle detection#651

Merged
stleary merged 1 commit intostleary:masterfrom
cushon:i650
Dec 4, 2021
Merged

IdentityHashSet for JSONObject cycle detection#651
stleary merged 1 commit intostleary:masterfrom
cushon:i650

Conversation

@cushon
Copy link
Copy Markdown
Contributor

@cushon cushon commented Nov 27, 2021

Fixes #650

Copy link
Copy Markdown
Contributor

@johnjaylward johnjaylward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice. Thanks for fixing so fast.

@stleary
Copy link
Copy Markdown
Owner

stleary commented Dec 1, 2021

What problem does this code solve?
Improves cycle detection for bean parsing by using a more suitable container for referenced objects.

Risks
Low

Changes to the API?
No

Will this require a new release?
No

Should the documentation be updated?
No

Does it break the unit tests?
No, new unit tests were added.

Was any code refactored in this commit?
No

Review status
APPROVED

@stleary
Copy link
Copy Markdown
Owner

stleary commented Dec 1, 2021

Starting 3 day comment window

@stleary stleary merged commit 04e8ea8 into stleary:master Dec 4, 2021
@stleary stleary changed the title Use IdentityHashSet for cycle detection IdentityHashSet for JSONObject cycle detection Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider using IdentityHashSet for cycle detection

3 participants