harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r374041 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net: Inet4Address.java InetAddress.java
Date Wed, 01 Feb 2006 11:00:19 GMT
Author: tellison
Date: Wed Feb  1 03:00:15 2006
New Revision: 374041

URL: http://svn.apache.org/viewcvs?rev=374041&view=rev
Log:
Serialization fix, requires making InetAddress default vis.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/Inet4Address.java
    incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/InetAddress.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/Inet4Address.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/Inet4Address.java?rev=374041&r1=374040&r2=374041&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/Inet4Address.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/Inet4Address.java
Wed Feb  1 03:00:15 2006
@@ -208,7 +208,7 @@
 	}
 
 	private Object writeReplace() throws ObjectStreamException {
-		return new InetAddress(ipaddress);
+		return new InetAddress(ipaddress, hostName);
 	}
 
 }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/InetAddress.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/InetAddress.java?rev=374041&r1=374040&r2=374041&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/InetAddress.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/InetAddress.java
Wed Feb  1 03:00:15 2006
@@ -87,7 +87,7 @@
 	 * @param address
 	 *            network address
 	 */
-	private InetAddress(byte[] address, String hostName) {
+	InetAddress(byte[] address, String hostName) {
 		super();
 		this.ipaddress = address;
 		this.hostName = hostName;



Mime
View raw message