Request/discussion: BufferedReader reading using async API while providing sync API

Brunoais brunoaiss at
Fri Oct 21 16:08:18 UTC 2016

Any feedback on this? I'm really interested in implementing such 
BufferedReader/BufferedStreamReader to allow speeding up my applications 
without having to think in an asynchronous way or multi-threading while 
programming with it.

That's why I'm asking this here.

On 13/10/2016 14:45, Brunoais wrote:
> Hi,
> I looked at BufferedReader source code for java 9 long with the source 
> code of the channels/streams used. I noticed that, like in java 7, 
> BufferedReader does not use an Async API to load data from files, 
> instead, the data loading is all done synchronously even when the OS 
> allows requesting a file to be read and getting a warning later when 
> the file is effectively read.
> Why Is BufferedReader not async while providing a sync API?

More information about the core-libs-dev mailing list