Skip to content

Conversation

@JooHyukKim
Copy link
Member

@JooHyukKim JooHyukKim commented Aug 19, 2023

(blocks #4065)

Motivation

Since HashSet does not guarantee any particular order, StdSubtypeResolver.collectAndResolveSubtypesByTypeId() can be flakey, resulting in test failures such as 🔗this github action.

Modification

  • Use LinkedHashSet to allow predictable iteration order

Copy link
Member

@cowtowncoder cowtowncoder left a comment

Choose a reason for hiding this comment

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

Makes sense, LGTM.

@cowtowncoder cowtowncoder merged commit c6522de into FasterXML:2.16 Aug 20, 2023
@cowtowncoder cowtowncoder added this to the 2.16.0 milestone Aug 20, 2023
@JooHyukKim JooHyukKim deleted the 4061-use-LinkedHashSet-in-StdTypeResolver branch August 20, 2023 02:44
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.

2 participants