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

Magnus Ihse Bursie ihse 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 pull request has now been integrated.

Changeset: e69e5b79
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e69e5b7960002b35af8c7579e5be043e8c7d63fa
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

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

Reviewed-by: jwaters, jpai

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

PR: https://git.openjdk.org/jdk/pull/23244


More information about the core-libs-dev mailing list