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

javax.json.bind.Jsonb to jakarta.json.bind.Jsonb #12616

Closed
luamas opened this issue Feb 2, 2023 · 0 comments
Closed

javax.json.bind.Jsonb to jakarta.json.bind.Jsonb #12616

luamas opened this issue Feb 2, 2023 · 0 comments
Assignees
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: bug A general bug
Milestone

Comments

@luamas
Copy link

luamas commented Feb 2, 2023

Version: 6.0.x

ClassLoader classLoader = HttpMessageConverters.class.getClassLoader();
jackson2Present = ClassUtils.isPresent("com.fasterxml.jackson.databind.ObjectMapper", classLoader)
&& ClassUtils.isPresent("com.fasterxml.jackson.core.JsonGenerator", classLoader);
gsonPresent = ClassUtils.isPresent("com.google.gson.Gson", classLoader);
jsonbPresent = ClassUtils.isPresent("jakarta.json.bind.Jsonb", classLoader);

jsonbPresent should use jakarta.json.bind.Jsonb

see: spring-projects/spring-authorization-server#1054

@luamas luamas added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels Feb 2, 2023
@marcusdacoregio marcusdacoregio added in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 3, 2023
@marcusdacoregio marcusdacoregio added this to the 6.0.2 milestone Feb 3, 2023
@marcusdacoregio marcusdacoregio self-assigned this Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: bug A general bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants