Skip to content

Fix Jakarta upgrade silently ignoring modules registered with the same name#18167

Merged
cryptoe merged 1 commit intoapache:masterfrom
cryptoe:fixing_object_mapper
Jun 23, 2025
Merged

Fix Jakarta upgrade silently ignoring modules registered with the same name#18167
cryptoe merged 1 commit intoapache:masterfrom
cryptoe:fixing_object_mapper

Conversation

@cryptoe
Copy link
Copy Markdown
Contributor

@cryptoe cryptoe commented Jun 23, 2025

Bumping Jakarta version to 2.18.4 as part of #18013 seems to fix IGNORE_DUPLICATE_MODULE_REGISTRATIONS. Disabling this feature in case multiple modules are registered with the same name.

…x IGNORE_DUPLICATE_MODULE_REGISTRATIONS. Disabling this feature in case multiple modules are registered with the same name.

// 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);

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
ObjectMapper.configure
should be avoided because it has been deprecated.
@cryptoe cryptoe merged commit 39ce0d6 into apache:master Jun 23, 2025
74 checks passed
@capistrant capistrant added this to the 34.0.0 milestone Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants