[lworld] RFR: 8301720: Add the PreviewFeature "VALUE_OBJECTS" and annotate new APIs.
Mandy Chung
mchung at openjdk.org
Fri Feb 3 17:42:22 UTC 2023
On Fri, 3 Feb 2023 15:29:25 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Add the PreviewFeature for value objects and annotate new APIs.
> (Any restrictions on use of the APIs will come later.)
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.
-------------
PR: https://git.openjdk.org/valhalla/pull/819
More information about the valhalla-dev
mailing list