Patch: java.io.LineNumberReader

Michael Koch konqueror@gmx.de
Sat Jun 21 18:43:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


The non-working non-merged skip() method of java.io.LineNumberReader 
really annoyed me enough to make me writing a patch for it.

The line number incrementation is already done in read() of 
LineNumberReader so we dont need to do this in skip() too.
In the original versions line counting was just wrong when using 
skip().

Please review the attached patch and comment.

Okay for commit ? Okay for 3.3 too ?

Is a similar patch for classpath okay too to make both versions 
merged?


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+9KgZWSOgCCdjSDsRAi4MAJ98JdFog95+yLMTzljyqI2MgIN0aACdEKyP
t4zHm4ZpyXbyuMzdUXc0ypQ=
=eIof
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linnumber.diff
Type: text/x-diff
Size: 1878 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030621/70ae5fc1/attachment.bin>


More information about the Java-patches mailing list