In the context of the Warnings for Value-Based Classes JEP, we're looking for
usages of the deprecated wrapper class constructors ('new Integer(...)', 'new
Double(...)', etc.). When do these get used? How often is this motivated by
wanting a unique object vs. legacy code that has no particular reason not to
use 'valueOf'?
We've got some investigations going on at Oracle, including looking at some
open-source projects, but I'm interested in examples from other
companies/projects as well. Please investigate and share what you find!
I'll reply in a few days with our analysis for the code we look at.