JDK 21 released
JDK 21 released
Posted Sep 25, 2023 3:38 UTC (Mon) by ssmith32 (subscriber, #72404)In reply to: JDK 21 released by znix
Parent article: JDK 21 released
You may have been thinking of the NIO.2 additions, which, unlike the intial release of NIO, do support async IO, and are quite powerful.
So technically, your original statement is correct, NIO does support a powerful API and async I/O, but it didn't at first.. once Java 17 rolled around, they added a bunch of functionality to nio, which, lumped together, was referred to as NIO.2 at the time.
Nowadays, everyone just calls it NIO.