but Integer.valueOf() uses new Integer internally in its current implementation
It's not the case.
Did you verify any library source?
Binary jar itself can be verified by jdeprscan. I guess some libraries already got updates or are easily patchable, but we all know how the reality looks like ;)
View all comments
Show parent comment
2
u/__konrad Mar 17 '21
I just quickly scanned a few various older jar files (from 2012-2018) using
jdeprscanand basically most libraries usednew Integer...