RFR: 8374368: Invalid java.nio.channels.spi.SelectorProvider value results in ClassNotFoundException instead of falling back to default provider

Shruthi Acharya sacharya at openjdk.org
Fri Dec 26 05:34:21 UTC 2025


Fall back to the default SelectorProvider by logging an error when an invalid provider is specified via the java.nio.channels.spi.SelectorProvider system property.
The bug report for the same: https://bugs.openjdk.org/browse/JDK-8374368

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

Commit messages:
 - 8374368: Invalid java.nio.channels.spi.SelectorProvider value results in ClassNotFoundException instead of falling back to default provider

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

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


More information about the nio-dev mailing list