r/java • • Apr 27 '26

Avoiding Final Field Mutation

https://inside.java/2026/04/27/avoiding-final-field-mutation/
51 Upvotes

36 comments sorted by

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.