github-advanced-security[bot] commented on code in PR #18167:
URL: https://github.com/apache/druid/pull/18167#discussion_r2161286000


##########
processing/src/main/java/org/apache/druid/jackson/DefaultObjectMapper.java:
##########
@@ -85,6 +85,10 @@
     // closed after an exception is thrown while writing.
     configure(JsonGenerator.Feature.AUTO_CLOSE_JSON_CONTENT, false);
 
+    // Bumping Jakarta version to 2.18.4 as part of 
https://github.com/apache/druid/pull/18013/ seems to fix 
IGNORE_DUPLICATE_MODULE_REGISTRATIONS.
+    // Disabling this feature in case multiple modules are registered with the 
same name.
+    configure(MapperFeature.IGNORE_DUPLICATE_MODULE_REGISTRATIONS, false);

Review Comment:
   ## Deprecated method or constructor invocation
   
   Invoking [ObjectMapper.configure](1) should be avoided because it has been 
deprecated.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/9257)



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to