--- tests/functional/org/jboss/cache/GlobalTransactionTest.java.sav	2006-06-12 14:21:01.000000000 -0400
+++ tests/functional/org/jboss/cache/GlobalTransactionTest.java	2006-06-12 14:27:05.000000000 -0400
@@ -34,7 +34,12 @@
 
    public void testEquality() throws UnknownHostException
    {
-      IpAddress a1=new IpAddress("localhost", 4444);
+      IpAddress a1=null;
+      try {
+         a1=new IpAddress("localhost", 4444);
+      } catch(UnknownHostException e) {
+         e.printStackTrace();
+      }
       GlobalTransaction tx1, tx2;
 
       tx1=GlobalTransaction.create(a1);
@@ -50,21 +55,36 @@
 
    public void testEqualityWithOtherObject() throws UnknownHostException
    {
-      IpAddress a1=new IpAddress("localhost", 4444);
+      IpAddress a1=null;
+      try {
+         a1=new IpAddress("localhost", 4444);
+      } catch(UnknownHostException e) {
+         e.printStackTrace();
+      }
       GlobalTransaction tx1=GlobalTransaction.create(a1);
       System.out.println("\ntx1: " + tx1);
       assertFalse(tx1.equals(Thread.currentThread()));
    }
 
    public void testEqualityWithNull() throws UnknownHostException
-   {
-      IpAddress a1=new IpAddress("localhost", 4444);
+   {
+      IpAddress a1=null;
+      try {
+         a1=new IpAddress("localhost", 4444);
+      } catch(UnknownHostException e) {
+         e.printStackTrace();
+      }
       GlobalTransaction tx1=GlobalTransaction.create(a1);
       System.out.println("\ntx1: " + tx1);
       assertFalse(tx1.equals(null));
    }
 
    public void testHashcode() throws UnknownHostException
-   {
-      IpAddress a1=new IpAddress("localhost", 4444);
+   {
+      IpAddress a1=null;
+      try {
+         a1=new IpAddress("localhost", 4444);
+      } catch(UnknownHostException e) {
+         e.printStackTrace();
+      }
       GlobalTransaction tx1, tx2;
 
 
--- tests/functional/org/jboss/cache/GlobalTransactionTest.java.sav	2006-06-12 14:21:01.000000000 -0400
+++ tests/functional/org/jboss/cache/GlobalTransactionTest.java	2006-06-12 14:27:05.000000000 -0400
@@ -110,8 +110,14 @@
 
    public void testExternalization() throws UnknownHostException
    {
-      IpAddress a1=new IpAddress("localhost", 4444);
-      IpAddress a2=new IpAddress("localhost", 5555);
+      IpAddress a1=null;
+      IpAddress a2=null;
+      try {
+         a1=new IpAddress("localhost", 4444);
+         a2=new IpAddress("localhost", 5555);
+      } catch(UnknownHostException e) {
+         e.printStackTrace();
+      }
       GlobalTransaction tx1, tx2, tx1_copy=null, tx2_copy=null;
       ByteArrayOutputStream bos=null;
       ByteArrayInputStream bis=null;
