RFR: 8349848: Support lint control of sunapi diagnostics

Jan Lahoda jlahoda at openjdk.org
Mon Feb 17 12:59:22 UTC 2025


On Fri, 14 Feb 2025 21:07:36 GMT, Archie Cobbs <acobbs at openjdk.org> wrote:

> This PR creates a new lint category `proprietary` that controls the mandatory warning "Foo is internal proprietary API and may be removed in a future release".
> 
> This allows developers to suppress this warning using `-Xlint:-proprietary` and/or `@SuppressWarnings`.

+1 for not including this PR. I would prefer to not give the unsupported APIs, and handling of thereof, more attention than absolutely needed.

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

PR Comment: https://git.openjdk.org/jdk/pull/23650#issuecomment-2663038202


More information about the compiler-dev mailing list