CachedOutputStream lost charsetName param
-----------------------------------------

                 Key: CXF-4133
                 URL: https://issues.apache.org/jira/browse/CXF-4133
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.2.12
            Reporter: boshi 


org.apache.cxf.io.CachedOutputStream 

    public void writeCacheTo(StringBuilder out, String charsetName, int limit) 
throws IOException {
        flush();
        if (totalLength < limit
            || limit == -1) {
            writeCacheTo(out);  <--- here lost charsetName param(if not using 
utf8) and make the non-utf8 char in log unreadable
            return;
        }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to