RFR: 8254275: some more value-based classes

Gernot Neppert mcnepp02 at googlemail.com
Fri Oct 16 07:41:57 UTC 2020


I think I found some more classes that satisfy all the requirements for
"value-based classes" (as listed in ValueBased.htm):

java.net.Inet4Address
java.net.Inet6Address
java.nio.file.attribute.FileTime

Additionally, I was wondering if the deprecations of public constructors
that were done on the primitive wrapper classes should not also be done on
the following classes, making them properly "value-based" in the future:

java.util.UUID
java.math.BigDecimal
java.math.BigInteger


More information about the valhalla-spec-observers mailing list