classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] RFC: java/io/DataInputStream.java patch


From: Jeroen Frijters
Subject: [cp-patches] RFC: java/io/DataInputStream.java patch
Date: Thu, 3 Mar 2005 17:55:31 +0100

Hi,

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.

Regards,
Jeroen

2005-03-03  Jeroen Frijters  <address@hidden>

        * java/io/DataInputStream.java (ignoreInitialNewline): Removed
        (readLine): Simplified handling of \r

Attachment: datainputstream.patch.txt
Description: datainputstream.patch.txt


reply via email to

[Prev in Thread] Current Thread [Next in Thread]