# HG changeset patch # User dfuchs # Date 1517938009 0 # Node ID 6146d87993db395b498e0a5425b6b1581e0f5367 # Parent 32ff53628380995f6f7f595a712e3579fde51934 http-client-branch: fix race condition and MT-safety in SmokeTest (fix the fix) diff -r 32ff53628380 -r 6146d87993db test/jdk/java/net/httpclient/SmokeTest.java --- a/test/jdk/java/net/httpclient/SmokeTest.java Tue Feb 06 17:21:28 2018 +0000 +++ b/test/jdk/java/net/httpclient/SmokeTest.java Tue Feb 06 17:26:49 2018 +0000 @@ -983,7 +983,7 @@ } // Third test if (n > 7) { - try {latch.await();} catch (InterruptedException e) {} + try {latch8.await();} catch (InterruptedException e) {} if (np > 4) { System.err.println("XXX np = " + np); }