[9] RFR of 8143394: PushbackReader throws NullPointerException

Brian Burkhalter brian.burkhalter at oracle.com
Fri Dec 4 16:21:38 UTC 2015


On Dec 4, 2015, at 3:34 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> I suspect this is going to need a spec update to make it clear that close will now block when there is another thread blocking on the reader.

Do you think that could be done for java.io.Reader.close() (“This method might block when another thread is blocking the Reader.”) or would be better on each of the specific methods (“This method will block when another thread is blocking the Reader.”)?

Brian


More information about the core-libs-dev mailing list