`src/java.base/windows/native/libnet/ResolverConfigurationImpl.c` has 3 unused 
macros defined: `IS_SL_FOUND`, `IS_NS_FOUND`, and `STS_NO_CONFIG`.

Plus, `loadConfig()` returns `STS_SL_FOUND & STS_NS_FOUND`, which is always 0. 
`&` usage looks wrong.
However the strange return value is no big issue because we currently only 
check for error (-1), and this still works.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - JDK-8394134

Changes: https://git.openjdk.org/jdk/pull/33318/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33318&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8394134
  Stats: 6 lines in 1 file changed: 1 ins; 4 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/33318.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33318/head:pull/33318

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

Reply via email to