harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r376009 - /incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramPacket.java
Date Wed, 08 Feb 2006 17:54:05 GMT
Author: tellison
Date: Wed Feb  8 09:54:04 2006
New Revision: 376009

URL: http://svn.apache.org/viewcvs?rev=376009&view=rev
Log:
Fix for HARMONY-82 (wrong signature for 2 constructors in java.net.DatagramPacket)

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

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramPacket.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramPacket.java?rev=376009&r1=376008&r2=376009&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramPacket.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/DatagramPacket.java
Wed Feb  8 09:54:04 2006
@@ -238,7 +238,7 @@
 	 * @param sockAddr
 	 *            the machine address and port
 	 */
-	public DatagramPacket(byte[] data, int length, SocketAddress sockAddr) {
+	public DatagramPacket(byte[] data, int length, SocketAddress sockAddr) throws SocketException
{
 		this(data, 0, length);
 		setSocketAddress(sockAddr);
 	}
@@ -258,7 +258,7 @@
 	 *            the machine address and port
 	 */
 	public DatagramPacket(byte[] data, int offset, int length,
-			SocketAddress sockAddr) {
+			SocketAddress sockAddr) throws SocketException {
 		this(data, offset, length);
 		setSocketAddress(sockAddr);
 	}



Mime
View raw message