I need an advice

Tom Tromey tromey@redhat.com
Fri Aug 17 10:47:00 GMT 2001


>>>>> "Jeff" == Jeff Sturm <jsturm@one-point.com> writes:

Jeff> 2001-08-17  Jeff Sturm  <jsturm@one-point.com>
Jeff> 	* gnu/gcj/convert/UnicodeToBytes.java (write): Write work buffer
Jeff> 	starting from zero offset.

Wow, I wonder how this survived so long.

Jeff> -    return write(work, inpos, inlength);
Jeff> +    return write(work, 0, inlength);

Shouldn't that be:

    return write(work, 0, srcEnd - inpos);

Tom



More information about the Java mailing list