It seems like an absolutely horrible idea to remove constructors to fundamental classes like java.lang.Boolean. Anyone know if there is are associated JSRs to voice concern? I don't use this stuff, but the risk of these APIs being used all over the play is way too high to remove them.
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 ;)
30
u/greenrobot_de Mar 16 '21
https://openjdk.java.net/projects/jdk/16/ might be better as it links to details of the main new features.