Skip to content

Change MapperFeature.ALLOW_FINAL_FIELDS_AS_MUTATORS default to false for 3.0 #4552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cowtowncoder opened this issue May 31, 2024 · 2 comments
Labels
3.0-release-notes Issues relevant for 3.0 release notes. 3.0 Issue planned for initial 3.0 release
Milestone

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented May 31, 2024

While it is occasionally useful to force value of final fields on deserialization (... and interesting JVM allows that!), it is confusing to user. So let's change it to disabled by default for 3.0.

@cowtowncoder cowtowncoder added the 3.x Issues to be only tackled for Jackson 3.x, not 2.x label May 31, 2024
cowtowncoder added a commit that referenced this issue Jun 1, 2024
cowtowncoder added a commit that referenced this issue Jun 1, 2024
cowtowncoder added a commit that referenced this issue Jun 1, 2024
@JooHyukKim
Copy link
Member

Seems completed?

@yihtserns
Copy link
Contributor

yihtserns commented Apr 1, 2025

...and interesting JVM allows that!

Coming soon: https://openjdk.org/jeps/8349536 👻

...so this is a good decision.

@cowtowncoder cowtowncoder added 3.0-release-notes Issues relevant for 3.0 release notes. 3.0 Issue planned for initial 3.0 release and removed 3.x Issues to be only tackled for Jackson 3.x, not 2.x labels Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0-release-notes Issues relevant for 3.0 release notes. 3.0 Issue planned for initial 3.0 release
Projects
None yet
Development

No branches or pull requests

3 participants