You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2004/09/21 14:59:00 UTC

DO NOT REPLY [Bug 28749] - Row number wraps on values greater than 65535

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28749>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28749

Row number wraps on values greater than 65535





------- Additional Comments From glens@apache.org  2004-09-21 12:58 -------
In this case it seems that it's Java wrapping the value.

(short)256 = 256 because short is 16 bits.
(short)65536 = 0 because only the last 16 bits of the value are being used.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org