JDK 18 |
---|
18 b18Fixed |
Relates :
|
|
Relates :
|
A DESCRIPTION OF THE PROBLEM : With JDK-8264777, i suggested to overload optimized FileInputStream::readAllBytes. The same improvement could be done for java.nio's java.nio.file.Files.newInputStream().readAllBytes() - which is still as slow as before. I suggest to overload sun.nio.ch.ChannelInputStream::readAllBytes with the same algorithm as FileInputStream::readAllBytes. See JDK-8264777 / FileInputStream::readAllBytes of JDK17 for details.
|