https://bz.apache.org/bugzilla/show_bug.cgi?id=68026
--- Comment #3 from lucas.pou...@lpoconseil.fr --- Or maybe just update with this code to keep the behaviour described in the getType() Javadoc ? public void setBytes(byte[] b, int off, int len) { byteC.setBytes(b, off, len); type = T_BYTES; hasHashCode = false; hasLongValue = false; strValue = byteC.toString(); } /** * Sets the content to be a char[] * * @param c the chars * @param off the start offset of the chars * @param len the length of the chars */ public void setChars(char[] c, int off, int len) { charC.setChars(c, off, len); type = T_CHARS; hasHashCode = false; hasLongValue = false; strValue = charC.toString(); } // -------------------- Conversion and getters -------------------- /** * Compute the string value. * * @return the string */ @Override public String toString() { return strValue; } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org