# HG changeset patch # User chegar # Date 1517831870 0 # Node ID fb2dd3c0dd60c85f533dee36b8233ca91f9291a2 # Parent 48afabd2de78f9b087035907888865fc242b10e3 http-client-branch: inconsistent synchronization in ConnectionPool diff -r 48afabd2de78 -r fb2dd3c0dd60 src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ConnectionPool.java --- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ConnectionPool.java Mon Feb 05 11:54:03 2018 +0000 +++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/ConnectionPool.java Mon Feb 05 11:57:50 2018 +0000 @@ -122,7 +122,7 @@ return dbgTag; } - void start() { + synchronized void start() { assert !stopped : "Already stopped"; }