From: fhanik Date: Mon, 20 Nov 2006 16:47:03 +0000 (+0000) Subject: TCK correction, depending on the sequence of the tests, the converter turns out to... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b1c6156dc1cf845130f3ac4356510c6f2c47cd08;p=tomcat7.0 TCK correction, depending on the sequence of the tests, the converter turns out to be null at certain times. Added in a check to create the converter even when getting the output stream. git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@477251 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/connector/Response.java b/java/org/apache/catalina/connector/Response.java index 4ab3c7217..78ab70421 100644 --- a/java/org/apache/catalina/connector/Response.java +++ b/java/org/apache/catalina/connector/Response.java @@ -574,6 +574,7 @@ public class Response (sm.getString("coyoteResponse.getOutputStream.ise")); usingOutputStream = true; + outputBuffer.checkConverter(); if (outputStream == null) { outputStream = new CoyoteOutputStream(outputBuffer); }