From a446ab4d6b07369860e958a28c4b7e0b1072245e Mon Sep 17 00:00:00 2001 From: Chris Hegarty Date: Fri, 9 Aug 2013 13:50:13 +0100 Subject: [PATCH] 8022661: InetAddress.writeObject() performs flush() on object output stream Reviewed-by: michaelm, alanb --- jdk/src/share/classes/java/net/InetAddress.java | 1 - 1 file changed, 1 deletion(-) diff --git a/jdk/src/share/classes/java/net/InetAddress.java b/jdk/src/share/classes/java/net/InetAddress.java index 0232cfc4198..48178497827 100644 --- a/jdk/src/share/classes/java/net/InetAddress.java +++ b/jdk/src/share/classes/java/net/InetAddress.java @@ -1601,7 +1601,6 @@ class InetAddress implements java.io.Serializable { pf.put("address", holder().getAddress()); pf.put("family", holder().getFamily()); s.writeFields(); - s.flush(); } }