The fix basically delegates polling and timeout management to the BlockingQueue.poll(timeout.. ) method. As a result it makes Connection readReply logic much easier to handle.
webrev : http://cr.openjdk.java.net/~coffeys/webrev.8139965.9/webrev/ bug report : https://bugs.openjdk.java.net/browse/JDK-8139965 -- Regards, Sean.