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

Add jsonp for cases where jsonb is not in scope #12635

Merged
merged 1 commit into from
Oct 10, 2020

Conversation

loicmathieu
Copy link
Contributor

Add quarkus-jsonp dependency for cases where quarkus-jsonb is not in scope.

I hesitate to add only org.glassfish:jakarta.json as it's the needed dependency to fix the issue, but as I understand it quarkus-jsonb is the integration of this library inside Quarkus so I prefere to add it.

Without it native image generation is not possible when an application didn't include quarkus-jsonb (I doubt the application even works) due to com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved type during parsing: javax.json.JsonObject.

Part of #12625 but not full fix as the issue references two problems.

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

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

You need to add the deployment dependency to the deployment module.

@loicmathieu
Copy link
Contributor Author

Sorry I was too hurry, fixed.

@gsmet gsmet merged commit fb46e8b into quarkusio:master Oct 10, 2020
@gsmet gsmet added this to the 1.10 - master milestone Oct 10, 2020
@gsmet gsmet modified the milestones: 1.10 - master, 1.9.0.Final Oct 10, 2020
@gsmet gsmet modified the milestones: 1.9.0.Final, 1.7.6.Final Nov 16, 2020
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