RFR: JDK-8325148: Enable restricted javac warning in java.base [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Feb 2 05:36:01 UTC 2024


On Thu, 1 Feb 2024 22:19:26 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> The restricted javac warning is disabled for java.base, but could be enabled by suppressing the warning in a handful of files.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add comment highlighting restricted method calls.

Looks good - a pity that we cannot disable the warning at the package level - I think it would make sense give blanket approval to the FFM implementation classes. But, even like this it's not too bad. Thanks.

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

Marked as reviewed by mcimadamore (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17677#pullrequestreview-1858347672


More information about the core-libs-dev mailing list