This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] String.getBytes()


Per> I'm rather sick now, so I may not be thinking too clearly, but
Per> your patch seems wrong to me.  I think something like the
Per> following (untested) is right.  Basically, `buflen' should be the
Per> allocated size of `buffer', while `bufpos' is the number of bytes
Per> written to it.

I agree; I misread the code earlier.
I'll test this and check it in.

Tom