changeset 7855:84004d0e3fdd

8022661: InetAddress.writeObject() performs flush() on object output stream Reviewed-by: michaelm, alanb
author chegar
date Fri, 09 Aug 2013 13:50:13 +0100
parents c29ca19cb816
children ce1c874903cb
files src/share/classes/java/net/InetAddress.java
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/net/InetAddress.java	Fri Aug 09 11:44:38 2013 +0200
+++ b/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();
     }
 }