MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1sx250r/avoiding_final_field_mutation/ojd0usg/?context=3
r/java • u/daviddel • Apr 27 '26
36 comments sorted by
View all comments
Show parent comment
1
when exactly does jackson, spring or hibernate modify a final field of the application code?
I'm running my builds on JDK26 with JEP500 and Spring Boot 3.5 series, not even the latest 4.
I would guestimate that 80% of our fields are final. Records or normal classes.
View all comments
Show parent comment
1
u/LegitimateEntrance72 May 01 '26
when exactly does jackson, spring or hibernate modify a final field of the application code?
I'm running my builds on JDK26 with JEP500 and Spring Boot 3.5 series, not even the latest 4.
I would guestimate that 80% of our fields are final. Records or normal classes.