[kaffe] Odd Jython/jar behaviour
robilad at yahoo.com
Wed Jan 8 07:01:02 PST 2003
--- Archie Cobbs <archie at dellroad.org> wrote:
> Clearly, whatever function you use can't return have
> return type
> "byte", because if it did the upper 24 bits of the
> result will
> always be 1 due to sign-extension from integral
> Alternately, add "& 0xff" to all the read*()
> function calls.
yeah, you're right. The spec explicitely says to use
&0xff. Funny enough, that's what readUnsignedByte
already does. But readUnsignedByte doesn't work. So
I'm a little puzzled.
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
More information about the kaffe