8022661: InetAddress.writeObject() performs flush() on object output stream
authorchegar
Fri, 09 Aug 2013 13:50:13 +0100
changeset 19379 1319fdb10f71
parent 19378 0b98a290dd86
child 19380 22eefc44fad6
8022661: InetAddress.writeObject() performs flush() on object output stream Reviewed-by: michaelm, alanb
jdk/src/share/classes/java/net/InetAddress.java
--- a/jdk/src/share/classes/java/net/InetAddress.java	Fri Aug 09 11:44:38 2013 +0200
+++ b/jdk/src/share/classes/java/net/InetAddress.java	Fri Aug 09 13:50:13 2013 +0100
@@ -1601,7 +1601,6 @@
         pf.put("address", holder().getAddress());
         pf.put("family", holder().getFamily());
         s.writeFields();
-        s.flush();
     }
 }