aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
AgeCommit message (Collapse)AuthorFilesLines
1999-04-16InputStreamReader.java (<init>): Set super.in correctly.Per Bothner1-23/+56
� * 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: r26508
1999-04-15Makefile.am (ordinary_java_source_files): Added new Connection and Handler ↵Warren Levy1-1/+1
classes in gnu.gcj.protocol.file package. * Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package. * Makefile.in: Rebuilt. * gnu/gcj/protocol/file/Connection.java: New file. * gnu/gcj/protocol/file/Handler.java: New file. * gnu/gcj/protocol/http/Connection.java (getInputStream): Check if doInput allows input. (getOutputStream): Check if doOutput allows output. * java/net/URLStreamHandler.java (parseURL): Fix indentation. From-SVN: r26479
1999-04-14natInetAddress.cc (lookup): On glibc2.0 systems, make buffer larger to work ↵Tom Tromey1-0/+7
around bug. * java/net/natInetAddress.cc (lookup): On glibc2.0 systems, make buffer larger to work around bug. From Bryce McKinlay <bryce@albatross.co.nz>. From-SVN: r26447
1999-04-14natDouble.java (doubleToLongBits): ensure that all NaNs are always converted ↵Andrew Haley2-0/+13
to the same long value. 1999-04-14 Andrew Haley <aph@cygnus.com> * java/lang/natDouble.java (doubleToLongBits): ensure that all NaNs are always converted to the same long value. * java/lang/natFloat.java (floatToIntBits): ditto, but for float converted to int. From-SVN: r26439
1999-04-13natSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on ↵Tom Tromey1-9/+51
actual element type. * java/lang/natSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on actual element type. From-SVN: r26405
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-12natSystem.cc (SystemClass): New define.Tom Tromey1-3/+10
* java/lang/natSystem.cc (SystemClass): New define. (init_properties): Synchronize. From-SVN: r26372
1999-04-08natInetAddress.cc (lookup): Fix typo (AF_INET16 -> AF_INET6).Geoff Berry2-1/+2
1999-04-08 Geoff Berry <gcb@gnu.org> * natInetAddress.cc (lookup): Fix typo (AF_INET16 -> AF_INET6). * natPlainSocketImpl.cc (accept): Add missing else if check for AF_INET6. From-SVN: r26297
1999-04-08Long.java (parseLong): Corrected overflow detection code.Tom Tromey2-30/+20
* java/lang/Long.java (parseLong): Corrected overflow detection code. * java/lang/Integer.java (parseInt): Corrected overflow detection code. From-SVN: r26295
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-07natString.cc (init(jbyteArray,jint,jint,jstring)): Set count to 0 when ↵Warren Levy1-0/+4
InputStreamReader returns -1 for EOF. * java/lang/natString.cc (init(jbyteArray,jint,jint,jstring)): Set count to 0 when InputStreamReader returns -1 for EOF. From-SVN: r26273
1999-04-07Initial revisionTom Tromey271-0/+37903
From-SVN: r26263