Re: DataInputStream readUTF related field initialization

2021-05-05 Thread Brian Burkhalter
> On May 5, 2021, at 11:09 AM, Robert Marcano wrote: > > Greetings. DataInputStream has some fields with the comment "working arrays > initialized on demand by readUTF" but these fields are being initialized at > object instantiation. > > On the other hand DataOutputStream has one field with

DataInputStream readUTF related field initialization

2021-05-05 Thread Robert Marcano
Greetings. DataInputStream has some fields with the comment "working arrays initialized on demand by readUTF" but these fields are being initialized at object instantiation. On the other hand DataOutputStream has one field with a likewise comment initialized to null. I think DataInputStream