zhfeng commented on code in PR #4691:
URL: https://github.com/apache/camel-quarkus/pull/4691#discussion_r1147262821
##########
extensions/jackson/deployment/src/main/java/org/apache/camel/quarkus/component/jackson/JacksonProcessor.java:
##########
@@ -39,7 +39,13 @@ List<ReflectiveClassBuildItem> registerReflectiveClasses() {
items.add(
ReflectiveClassBuildItem.builder("com.fasterxml.jackson.module.jakarta.xmlbind.JakartaXmlBindAnnotationModule")
.methods(false).fields(true).build());
-
items.add(ReflectiveClassBuildItem.builder(JsonNode.class).methods(false).fields(false).build());
+
items.add(ReflectiveClassBuildItem.builder("com.fasterxml.jackson.databind.JsonNode").methods(false).fields(false)
+ .build());
+ if
(QuarkusClassLoader.isClassPresentAtRuntime("com.fasterxml.jackson.datatype.joda.JodaModule"))
{
+
items.add(ReflectiveClassBuildItem.builder("com.fasterxml.jackson.datatype.joda.JodaModule").methods(false)
+ .fields(false).build());
+
items.add(ReflectiveClassBuildItem.builder("org.joda.time.DateTime").methods(false).fields(false).build());
Review Comment:
@claudio4j please rebase with `main` branch and I just merged
https://github.com/apache/camel-quarkus/issues/4694. Sorry for the
unconventince.
--
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]