RFR: 8348324: The failure handler cannot be build by JDK 24 due to restricted warning

Jaikiran Pai jpai at openjdk.org
Thu Jan 23 07:53:56 UTC 2025


On Wed, 22 Jan 2025 21:59:40 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> GatherProcessInfoTimeoutHandler calls System.loadLibrary, which will trigger a `restricted` warning when building with JDK 24 or newer, and failing the build.
> 
> This should be fixed by adding a @SuppressWarnings("restricted").

This looks good to me.

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

Marked as reviewed by jpai (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23244#pullrequestreview-2569096689


More information about the core-libs-dev mailing list