]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Note char-conversion-related optimizations.
authorPer Bothner <bothner@gcc.gnu.org>
Fri, 16 Apr 1999 18:41:12 +0000 (11:41 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Fri, 16 Apr 1999 18:41:12 +0000 (11:41 -0700)
From-SVN: r26510

libjava/ChangeLog

index dbef79e21d567d2e2dc532db267abdafb0b04a38..34539d8c6fa2c3a533de049847fe7ae67f7cf134 100644 (file)
        * gnu/gcj/convert/Output_UTF8.java:  Fix typo: 0xC0 -> 0c3F.
        * gnu/gcj/convert/Input_UTF8.java:  Fix typos in bit masks.
 
+       * 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.
+       
 1999-04-15  Warren Levy  <warrenl@cygnus.com>
 
        * Makefile.am (ordinary_java_source_files): Added new Connection