Initial load
diff --git a/test/java/net/InetSocketAddress/B4849451.java b/test/java/net/InetSocketAddress/B4849451.java
new file mode 100644
index 0000000..9d81032
--- /dev/null
+++ b/test/java/net/InetSocketAddress/B4849451.java
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+/*
+ * @test
+ * @bug 4849451
+ * @summary InetSocketAddress.equals() fails for unresolved hosts
+ */
+
+import java.net.*;
+
+public class B4849451 {
+    public static void main(String[] args) {
+        InetSocketAddress addr1 = InetSocketAddress.createUnresolved("unresolveable", 10);
+        InetSocketAddress addr2 = InetSocketAddress.createUnresolved("UNRESOLVEABLE", 10);
+
+        if (!(addr1.equals(addr2))) {
+            throw new RuntimeException(addr1 + " and " + addr2 + " should be equal");
+        }
+    }
+}
diff --git a/test/java/net/InetSocketAddress/B6469803.java b/test/java/net/InetSocketAddress/B6469803.java
new file mode 100644
index 0000000..8af78b6
--- /dev/null
+++ b/test/java/net/InetSocketAddress/B6469803.java
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+/*
+ * @test
+ * @bug 6469803
+ * @summary Socket creation on Windows takes a long time if web proxy does not have a DNS
+ */
+
+import java.net.*;
+
+public class B6469803 {
+    public static void main(String[] args) {
+        InetSocketAddress addr = new InetSocketAddress("192.168.1.1", 12345);
+        String s = addr.getHostString();
+        if (!s.equals("192.168.1.1"))
+            throw new RuntimeException("getHostString() returned the wrong string: " + s );
+        addr = new InetSocketAddress("localhost", 12345);
+        s = addr.getHostString();
+        if (!s.equals("localhost"))
+            throw new RuntimeException("getHostString() returned the wrong string: " + s);
+    }
+}
diff --git a/test/java/net/InetSocketAddress/CreateUnresolved.java b/test/java/net/InetSocketAddress/CreateUnresolved.java
new file mode 100644
index 0000000..b470b05
--- /dev/null
+++ b/test/java/net/InetSocketAddress/CreateUnresolved.java
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2003 Sun Microsystems, Inc.  All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+/*
+ * @test
+ * @bug 4909209
+ * @summary Need a way to specifically create unresolved InetSocketAddress
+ */
+import java.net.InetSocketAddress;
+
+public class CreateUnresolved {
+    public static void main(String[] args) {
+        InetSocketAddress a = InetSocketAddress.createUnresolved("unresolved", 1234);
+        if (!a.isUnresolved())
+            throw new RuntimeException("Address is not flagged as 'unresolved'");
+    }
+}
diff --git a/test/java/net/InetSocketAddress/ToString.java b/test/java/net/InetSocketAddress/ToString.java
new file mode 100644
index 0000000..ea60cd0
--- /dev/null
+++ b/test/java/net/InetSocketAddress/ToString.java
@@ -0,0 +1,41 @@
+/*
+ * Copyright 2001 Sun Microsystems, Inc.  All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+/*
+ * @test
+ * @bug 4464064
+ * @summary InetSocketAddress.toString() throws NPE with unresolved address
+ */
+
+import java.net.*;
+import java.io.*;
+
+
+public class ToString {
+
+    public static void main (String args[]){
+
+        System.out.println(new InetSocketAddress("unresolved", 12345));
+
+    }
+}