(reviewing http://svn.apache.org/viewvc?view=revision&revision=883165)

In http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-interceptor.html
 there are several examples of byte array values, such as
{216,123,12,3}

My understanding of the helper function that is used to parse those
values (tribes.util.Arrays.fromString(String)) is that the example is
wrong:  bytes are -128 < < 127, and any value outside of that range
will result in a NumberFormatException (thrown from
java.lang.Byte.parseByte()).


Is there a desire to support any values in the range -128...255
(modify tribes.util.Arrays.fromString(String) to support them)?  Or we
better just update the documentation and leave it as is?

I tend to updating the documentation.


Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to