claudio4j commented on code in PR #4677:
URL: https://github.com/apache/camel-quarkus/pull/4677#discussion_r1143299961
##########
extensions/jackson/deployment/src/main/java/org/apache/camel/quarkus/component/jackson/JacksonProcessor.java:
##########
@@ -37,7 +36,9 @@ FeatureBuildItem feature() {
List<ReflectiveClassBuildItem> registerReflectiveClasses() {
List<ReflectiveClassBuildItem> items = new ArrayList<>();
items.add(new ReflectiveClassBuildItem(false, true,
"com.fasterxml.jackson.module.jaxb.JaxbAnnotationModule"));
- items.add(new ReflectiveClassBuildItem(false, false, JsonNode.class));
+ items.add(new ReflectiveClassBuildItem(false, false,
com.fasterxml.jackson.databind.JsonNode.class));
Review Comment:
Out of curiosity, the advantage to use the class name as string, is to not
have the hard dependency ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]