RFR: 8348324: The failure handler cannot be build by JDK 24 due to restricted warning
Magnus Ihse Bursie
ihse at openjdk.org
Wed Jan 22 22:04:57 UTC 2025
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").
-------------
Commit messages:
- 8348324: The failure handler cannot be build by JDK 24 due to restricted warning
Changes: https://git.openjdk.org/jdk/pull/23244/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23244&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8348324
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23244.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23244/head:pull/23244
PR: https://git.openjdk.org/jdk/pull/23244
More information about the core-libs-dev
mailing list