aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/InputStreamReader.java
AgeCommit message (Collapse)AuthorFilesLines
2001-08-06InputStreamReader.java (refill): Only call refill on BufferedInputStream ↵Tom Tromey1-1/+3
when appropriate constraints are met. * java/io/InputStreamReader.java (refill): Only call refill on BufferedInputStream when appropriate constraints are met. From-SVN: r44675
2001-07-13re PR libgcj/3426 (java.io.InputStreamReader, infinite loop)Tom Tromey1-60/+57
Fix for PR libgcj/3426: * gnu/gcj/convert/natIconv.cc: Include CharConversionException.h, errno.h. (read): Throw exception if character conversion fails. * java/io/BufferedInputStream.java (refill): Now package-private. * java/io/InputStreamReader.java (ready): Simplified. (refill): New method. (read): Use it. Co-Authored-By: David Brownell <david-b@pacbell.net> From-SVN: r43975
2001-02-09re PR libgcj/1913 (reading closed streams throws NullPointerException, not ↵Tom Tromey1-1/+10
IOException) From paul@dawa.demon.co.uk. Fix for PR libgcj/1913: * java/io/InputStreamReader.java (ready, read): Throw IOException if stream has been closed. From-SVN: r39553
2000-11-29InflaterInputStream (read): Don't return -1 unless the infate() call didn't ↵Bryce McKinlay1-1/+1
deliver any output. * java/util/zip/InflaterInputStream (read): Don't return -1 unless the infate() call didn't deliver any output. Throw a ZipException if the needsDictionary() call returns true. * java/io/ByteArrayInputStream (read): Remove redundant bounds checks. * java/io/InputStreamReader: Use the default buffer size for the contained BufferedInputStream. From-SVN: r37846
2000-03-07All files: Updated copyright information.Tom Tromey1-1/+1
* All files: Updated copyright information. * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. From-SVN: r32387
2000-01-19* All files: Updated copyright to reflect Cygnus purchase.Tom Tromey1-1/+1
From-SVN: r31504
1999-11-01PrintStream (PrintStream): Fix illegal usage of "this" before "super".Bryce McKinlay1-3/+5
1999-11-01 Bryce McKinlay <bryce@albatross.co.nz> * java/io/PrintStream (PrintStream): Fix illegal usage of "this" before "super". * java/io/OutputStreamWriter (OutputStreamWriter): ditto. * java/io/InputStreamReader (InputStreamReader): ditto. From-SVN: r30300
1999-05-10InputStreamReader.java (read): If length is 0, return 0.Tom Tromey1-0/+7
* java/io/InputStreamReader.java (read): If length is 0, return 0. Reset `wpos' and `wcount' when buffer has been filled and emptied. * java/util/Properties.java (save): Removed `FIXME' comment. (load): Invalid characters in \u now treated as terminators. Make sure to append character resulting from `\' handling. Cast to `char' when appending to key or value. (skip_ws): Inverted test for whitespace. From-SVN: r26862
1999-04-16InputStreamReader.java (<init>): Set super.in correctly.Per Bothner1-3/+3
� * java/io/InputStreamReader.java (<init>): Set super.in correctly. * java/io/OutputStreamWriter.java (<init>): Set super.in correctly. (writeChars): Don't be quite so eager to flush. * java/io/PrintStream.java: Rewrite. Now more similar to OutputStreamWriter, using explicit UnicodeToBytes converter. Also, autoflush does not need to flush so often. * java/lang/natString.cc (getBytes): More efficient algorithm. (init(jbyteArray,jint,jint,jstring)): More efficient. From-SVN: r26509
1999-04-07Initial revisionTom Tromey1-0/+151
From-SVN: r26263