Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compatiblity with eclipse EE9 transformer. #795

Merged
merged 1 commit into from
May 4, 2021

Conversation

pferraro
Copy link
Contributor

@pferraro pferraro commented May 4, 2021

The eclipse EE9 transformer (https://projects.eclipse.org/projects/technology.transformer), which is used by WildFly (and other EE8+9 servers), performs runtime transformation of "javax" -> "jakarta", including the strings in JaxRsConstants.
This results in lists containing 2 identical elements, which causes all sorts of issues, since the smallrye-open-api codebase assumes element uniqueness of these lists.
Converting these lists to sets solves the problem.

Copy link
Member

@MikeEdgar MikeEdgar left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks @pferraro

@MikeEdgar MikeEdgar merged commit 2b60fec into smallrye:main May 4, 2021
@phillip-kruger phillip-kruger added this to the 2.1.4 milestone May 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.

3 participants