From b7219d9d9bb0ea8aa5f344644d4b86d4fcdce3f7 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Tue, 15 Jan 2019 17:49:20 +1100 Subject: [PATCH] Issue #3246 - remove debugging code from cherry-picked commit Signed-off-by: Lachlan Roberts --- .../src/main/java/org/eclipse/jetty/io/WriteFlusher.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java b/jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java index 7e32d0672bf..dee91e31471 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/WriteFlusher.java @@ -55,8 +55,6 @@ abstract public class WriteFlusher private final EndPoint _endPoint; private final AtomicReference _state = new AtomicReference<>(); - Throwable last; - static { // fill the state machine @@ -272,13 +270,7 @@ abstract public class WriteFlusher LOG.debug("write: {} {}", this, BufferUtil.toDetailString(buffers)); if (!updateState(__IDLE, __WRITING)) - { - if (last!=null) - last.printStackTrace(); throw new WritePendingException(); - } - - last = new Throwable(); try {