RFR: 8254275: Development to revise ValueBased.html for consistency with inline class migration
Dan Smith
dlsmith at openjdk.java.net
Fri Oct 9 23:42:16 UTC 2020
On Fri, 9 Oct 2020 21:27:04 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> The existing value-based classes do not adhere to the new statements.
> These changes are re-writing the spec after the fact.
> Existing classes do not have to be final and can extend anything they want.
Yes, this is a deceptively-small-looking change to the spec for a large number of classes.
You'll have to clarify which classes you're concerned about, though. I just verified that all of the following classes
are both `final` and extend an appropriate superclass:
KeyValueHolder, MapN, Map1, SetN, Set12, ListN, List12, Optional, OptionalDouble, OptionalInt, OptionalLong,
OffsetTime, ZonedDateTime, Duration, Instant, LocalDateTime, LocalTime, YearMonth, Year, MonthDay, OffsetDateTime,
ZoneRegion, ZoneOffset, MinguoDate, HijrahDate, JapaneseDate, ThaiBuddhistDate, ProcessHandleImpl, Runtime.Version
(I stopped before digging into the ConstantDesc and foreign classes...)
-------------
PR: https://git.openjdk.java.net/valhalla/pull/222
More information about the valhalla-dev
mailing list