JDK-8196298: Add null Reader and Writer

Brian Burkhalter brian.burkhalter at oracle.com
Thu Feb 1 23:03:54 UTC 2018

On Feb 1, 2018, at 2:49 PM, Patrick Reinhart <patrick at reini.net> wrote:

>> Am 01.02.2018 um 22:26 schrieb Brian Burkhalter <brian.burkhalter at oracle.com>:
>>> […]
>> Yes: there is no such lock instance variable for those classes. Probably it would not hurt to add a one liner to each method’s doc as Alan suggested.
> As my english is not that good,

It’s fine!

> I could need some help for that one liner :-)

How about simply “The {@link #lock object} used to synchronize operations on the returned {@code Reader} is not specified” and similarly for Writer? I’d suggest to put it as a separate paragraph before the @return doc.



More information about the core-libs-dev mailing list