aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io
AgeCommit message (Collapse)AuthorFilesLines
1999-07-01[multiple changes]Warren Levy2-3/+6
1999-07-01 Warren Levy <warrenl@cygnus.com> * gnu/gcj/convert/BytesToUnicode.java (read): Changed outlength to count and revised comments to match. * gnu/gcj/convert/Input_EUCJIS.java (read): Same as Input_8859_1.java. * gnu/gcj/convert/Input_JavaSrc.java (read): ditto. * gnu/gcj/convert/Input_SJIS.java (read): ditto. * gnu/gcj/convert/Input_UTF8.java (read): ditto. * gnu/gcj/convert/natInput_EUCJIS.cc (read): ditto. * gnu/gcj/convert/natInput_SJIS.cc (read): ditto. 1999-07-01 John-Marc Chandonia <jmc@cmpharm.ucsf.edu> * gnu/gcj/convert/Input_8859_1.java (read): Use 3rd parameter properly as count rather than outlength. * java/io/BufferedOutputStream.java (write(byte[],int,int): Flush output on overflow rather than buffer fill. * java/io/BufferedReader.java (fill): Don't clear out the buffer if markPos is 0 and there is still room in the buffer. From-SVN: r27892
1999-06-15FilterOutputStream.java (write(byte[])): Rewrite according to JDK 1.2 docs.Bryce McKinlay1-2/+3
* java/io/FilterOutputStream.java (write(byte[])): Rewrite according to JDK 1.2 docs. (write(byte[],int,int)): ditto. From-SVN: r27537
1999-06-10FileDescriptor.java (FileDescriptor(String, int)): Throw ↵Warren Levy2-4/+4
FileNotFoundException instead of IOException. 1999-06-10 Warren Levy <warrenl@cygnus.com> * java/io/FileDescriptor.java (FileDescriptor(String, int)): Throw FileNotFoundException instead of IOException. (open): ditto. * java/io/FileInputStream.java (FileInputStream): Doesn't throw IOException. * java/text/Collator.java (CANONICAL_DECOMPOSITION): Fixed typo in static field name. From-SVN: r27473
1999-06-09Runtime.java (exec): Convert prog name and arguments to string array.Bryce McKinlay1-15/+52
* java/lang/Runtime.java (exec): Convert prog name and arguments to string array. * java/lang/natPosixProcess.cc (startProcess): Fix typo in environment array conversion. Preserve current environment if envp not passed. Preserve PATH unless explicitly specified. * java/io/DataInputStream.java (readLine): Fix case where '\r' is followed by EOF. Set a flag when a line is terminated by '\r' and ignore following '\n' if set. From-SVN: r27458
1999-05-12File.java (mkdirs): Handle a null parent directory.Per Bothner1-4/+8
h * java/io/File.java (mkdirs): Handle a null parent directory. From-SVN: r26903
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-05-10RandomAccessFile.java (RandomAccessFile): Removed `FIXME' comment.Tom Tromey1-5/+3
* java/io/RandomAccessFile.java (RandomAccessFile): Removed `FIXME' comment. (readLine): Likewise. (readFully): Implemented. From-SVN: r26859
1999-05-10natToolkit.cc: Added copyright header.Tom Tromey2-3/+0
* java/awt/natToolkit.cc: Added copyright header. * java/util/zip/InflaterInputStream.java: Added copyright header. * java/io/FilterWriter.java (FilterWriter): Removed `FIXME' comment. * java/io/SequenceInputStream.java (SequenceInputStream): Removed `FIXME' comment. (getNextStream): Likewise. From-SVN: r26857
1999-04-18* java/io/PrintStream.java (println): Remove extra println.Anthony Green1-1/+0
From-SVN: r26541
1999-04-16InputStreamReader.java (<init>): Set super.in correctly.Per Bothner3-55/+120
� * 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-12DataInputStream.java (readLine): Corrected handling of empty lines, from ↵Urban Widmark1-3/+6
null to "". 1999-04-12 Urban Widmark <urban@svenskatest.se> * java/io/DataInputStream.java (readLine): Corrected handling of empty lines, from null to "". From-SVN: r26381
1999-04-08PrintStream.java (print): Handle null string argument.Tom Tromey1-2/+2
* java/io/PrintStream.java (print): Handle null string argument. (println): Likewise. From-SVN: r26294
1999-04-07Initial revisionTom Tromey57-0/+7150
From-SVN: r26263