[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cp-patches] RFC: java/io/DataInputStream.java patch
From: |
Jeroen Frijters |
Subject: |
RE: [cp-patches] RFC: java/io/DataInputStream.java patch |
Date: |
Fri, 4 Mar 2005 10:45:42 +0100 |
I wrote:
> I'd like to propose the attached patch to make
> DataInputStream.readLine() simpler and more compatible with Sun's
> implementation. I had an IKVM user report a problem because the \n
> wasn't read eagerly by readLine(). The proposed patch works
> much better than the current hack and is also much cleaner.
My patch was still too complicated and also buggy (I didn't realise that
\r is also a line separator). I added a couple of Mauve tests and fixed
my patch.
Regards,
Jeroen
datainputstream.patch.txt
Description: datainputstream.patch.txt