RFR: 8316971: Add Lint warning for restricted method calls [v2]

Vicente Romero vromero at openjdk.org
Fri Sep 29 16:13:10 UTC 2023


On Fri, 29 Sep 2023 08:14:29 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> > question shouldn't the new Restricted annotation be annotated with the @PreviewFeature annotation? it depends on a preview feature
> 
> The Restricted annotation is an internal annotation only. So there is no value in annotating it with `@PreviewFeature`. Also, note that there is a PR already filed which, when integrated, will move the FFM API out of preview [1].
> 
> [1] - https://git.openjdk.org/jdk/pull/15103

I see, thanks

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

PR Comment: https://git.openjdk.org/jdk/pull/15964#issuecomment-1741057810


More information about the build-dev mailing list