[lworld] RFR: 8254797: [Development] Define & apply annotation jdk.internal.ValueBased
Roger Riggs
rriggs at openjdk.java.net
Wed Oct 21 17:25:22 UTC 2020
On Wed, 21 Oct 2020 17:01:21 GMT, Mandy Chung <mchung at openjdk.org> wrote:
>> Define a JDK-internal annotation, jdk.internal.ValueBased, which indicates that a class or interface is value-based, per: java/lang/doc-files/ValueBased.html
>>
>> (The switch of the compiler from the existing java.lang.ValueBased to jdk.internal.ValueBased will occur separately).
>>
>> Apply the annotation wherever existing documentation references ValueBased.html, including:
>> - The primitive wrapper classes in java.lang;
>> - The class java.lang.Runtime.Version;
>> - The "optional" classes in java.util: Optional, OptionalInt, OptionalLong, and OptionalDouble;
>> - Many classes in the java.time API: Instant, LocalDate, LocalTime, LocalDateTime, ZonedDateTime, ZoneId, OffsetTime, OffsetDateTime, ZoneOffset, Duration, Period, Year, YearMonth, and MonthDay, and, in java.time.chrono: MinguoDate, HijrahDate, JapaneseDate, and ThaiBuddhistDate;
>> - The interface java.lang.ProcessHandle and its implementation classes;
>> - and an initial set of other classes
>>
>> The CSR for these changes will occur *after* the prototyping of javac and the VM runtime is working.
>
> Looks like Roger pushed to the wrong branch. It's supposed to push to jep390 branch.
Yep, I didn't change the pull-down when creating the PR.
Please review... https://github.com/openjdk/valhalla/pull/235
-------------
PR: https://git.openjdk.java.net/valhalla/pull/233
More information about the valhalla-dev
mailing list