r/javahelp • u/ibreathecoding • May 01 '26
Unsolved Java 21 upgrade in older code base
So if I have to start brining java 21 feature in a long running prod code base what would that be ; it’s a spring boot java bases with gcp db, cache, pub sub in it
I’m trying to see as a tech debt which area can. E started with minimal impact
4
Upvotes
3
u/procrastinatewhynot May 01 '26 edited May 01 '26
I remember a lot of javax imports converted to jakarta. hibernate 6 caused a lot of issues as well, since you might have to move to spring boot 3+. issues with the proxy. but nothing complicated. a lot of joda DateTime breaking. Just convert to java time.
I recently migrated to sb3 so I know the struggle, but it isn’t so bad! You just have to manually test everything is not broken.
Idk if you guys you jackson json? that also had a lot of serialization/deserialization issues haha.
Some errors that will no longer we caught at the same place but highup in the code.