Re: RFR 8022661: InetAddress.writeObject() performs flush() on object output stream

2013-08-09 Thread Alan Bateman
On 09/08/2013 02:23, Chris Hegarty wrote: This is a trivial change to remove the unnecessary flush from InetAddress.writeObject(). The flush can have a negative affect if the ObjectOutputStream is wrapping an underlying Socket stream. diff -r 662115496d6b src/share/classes/java/net/InetAddress

Re: RFR 8022661: InetAddress.writeObject() performs flush() on object output stream

2013-08-09 Thread Michael McMahon
Looks fine to me. - Michael. On 09/08/13 10:23, Chris Hegarty wrote: This is a trivial change to remove the unnecessary flush from InetAddress.writeObject(). The flush can have a negative affect if the ObjectOutputStream is wrapping an underlying Socket stream. diff -r 662115496d6b src/share

RFR 8022661: InetAddress.writeObject() performs flush() on object output stream

2013-08-09 Thread Chris Hegarty
This is a trivial change to remove the unnecessary flush from InetAddress.writeObject(). The flush can have a negative affect if the ObjectOutputStream is wrapping an underlying Socket stream. diff -r 662115496d6b src/share/classes/java/net/InetAddress.java --- a/src/share/classes/java/net/Inet