BUILD_LIBNET and BUILD_LIBNIO switch off the unused-variable warning for some compilation units. This should be avoided. Additionally isSourceFilterSupported in Net.c where one of those warnings pops up can be completely removed. That coding was only for AIX 6.X (old OS versions no longer supported).
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8392037 Changes: https://git.openjdk.org/jdk/pull/32782/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32782&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8392037 Stats: 51 lines in 3 files changed: 2 ins; 46 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/32782.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32782/head:pull/32782 PR: https://git.openjdk.org/jdk/pull/32782
