mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 05:10:26 +08:00
* java/io/OutputStreamWriter.java (flush): Create work if null.
From-SVN: r115647
This commit is contained in:
parent
b247341e06
commit
099cf3548a
@ -1,3 +1,7 @@
|
||||
2006-07-21 Mark Wielaard <mark@klomp.org>
|
||||
|
||||
* java/io/OutputStreamWriter.java (flush): Create work if null.
|
||||
|
||||
2006-07-21 Keith Seitz <keiths@redhat.com>
|
||||
|
||||
* java/lang/natThread.cc (_Jv_ThreadGetData): New function.
|
||||
@ -33,7 +37,7 @@
|
||||
|
||||
2006-07-18 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* configure: Regenerate.
|
||||
* configure: Regenerate.
|
||||
|
||||
2006-07-18 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
|
@ -203,6 +203,8 @@ public class OutputStreamWriter extends Writer
|
||||
|
||||
// Always write -- if we are close()ing then we want to make
|
||||
// sure the converter is flushed.
|
||||
if (work == null)
|
||||
work = new char[100];
|
||||
writeChars(work, 0, wcount);
|
||||
wcount = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user