Index: build/checkouts/reliability/src/java/org/apache/harmony/test/reliability/api/net/SingleConnectTest.java =================================================================== --- build/checkouts/reliability/src/java/org/apache/harmony/test/reliability/api/net/SingleConnectTest.java (revision 640432) +++ build/checkouts/reliability/src/java/org/apache/harmony/test/reliability/api/net/SingleConnectTest.java (working copy) @@ -106,19 +106,19 @@ int port = 0; int counter = 0; boolean started = false; + ServerSocket ss = null; ServerRunner1(int p){ port = p; - start(); - } - public void run (){ - ServerSocket ss = null; try { ss = new ServerSocket(port); } catch (IOException e1) { // Ignore - the port could already be used return; } + start(); started = true; + } + public void run (){ while (counter < SingleConnectTest.numberOfAcceptedRequests){ try { ss.accept();