RFR: 8254275: Development to revise "value-based class" & apply to wrappers [v2]
Dan Smith
dlsmith at openjdk.java.net
Tue Oct 13 22:59:36 UTC 2020
On Tue, 13 Oct 2020 19:49:11 GMT, Dan Smith <dlsmith at openjdk.org> wrote:
>> Byte, Short, Integer, and Long all have caches for small values.
>
> Yes, understood. I was using Integer as an example, but the above should apply to all of those classes.
New revision: I updated the definition, especially with respect to `==`, and applied the boilerplate to the wrapper
classes. I realized the changed definition requires changing the boilerplate everywhere, so I've done so, fixing up all
the references to `ValueBased.html`.
Please be hyper-critical of the boilerplate text, as this appears in lots of places—it's worth getting it just right.
-------------
PR: https://git.openjdk.java.net/valhalla/pull/222
More information about the valhalla-dev
mailing list