Project: Tomcat
Bug 49125 toString on byte[] array probably is not correct
Reported: 2010-04-14 18:54:35 | Status: resolved fixed

Two examples of using toString() on a byte[] array, which is unlikely to produce the desired output: ha.deploy.FileMessageFactory.writeMessage() log message uses toString on msg.getData() which is a byte[] array coyote.ajp.AjpMessage.dump use toString on "msg" which is of type byte[]

Files changed in fix:
java/org/apache/catalina/ha/deploy/FileMessageFactory.java java/org/apache/coyote/ajp/AjpMessage.java java/org/apache/tomcat/util/buf/HexUtils.java