[lworld] RFR: 8301720: [lworld] Value class APIs should have javadoc annotation for PreviewFeature [v2]

Roger Riggs rriggs at openjdk.org
Mon Feb 6 15:00:38 UTC 2023


On Fri, 3 Feb 2023 17:39:26 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove unnecessary PreviewFeature attribute
>
> src/java.base/share/classes/java/lang/Class.java line 636:
> 
>> 634:      * @since Valhalla
>> 635:      */
>> 636:     @PreviewFeature(feature = PreviewFeature.Feature.VALUE_OBJECTS)
> 
> I only expect `@PreviewFeature` on public APIs.   No need to mark the package private methods as they are implementation details.

Removed. (That API may come back with "primitive" classes).

-------------

PR: https://git.openjdk.org/valhalla/pull/819



More information about the valhalla-dev mailing list