Skip to content

Commit

Permalink
fix javax.json.bind.Jsonb to jakarta.json.bind.Jsonb
Browse files Browse the repository at this point in the history
Closes gh-12616
  • Loading branch information
luamas authored and marcusdacoregio committed Feb 3, 2023
1 parent 7dc3759 commit 7409d14
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* Utility methods for {@link HttpMessageConverter}'s.
*
* @author Joe Grandja
* @author luamas
* @since 5.1
*/
final class HttpMessageConverters {
Expand All @@ -42,7 +43,7 @@ final class HttpMessageConverters {
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("javax.json.bind.Jsonb", classLoader);
jsonbPresent = ClassUtils.isPresent("jakarta.json.bind.Jsonb", classLoader);
}

private HttpMessageConverters() {
Expand Down

0 comments on commit 7409d14

Please sign in to comment.