Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
099cf354
Commit
099cf354
authored
Jul 21, 2006
by
Mark Wielaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* java/io/OutputStreamWriter.java (flush): Create work if null.
From-SVN: r115647
parent
b247341e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
libjava/ChangeLog
+5
-1
libjava/java/io/OutputStreamWriter.java
+2
-0
No files found.
libjava/ChangeLog
View file @
099cf354
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
>
2006
-
07
-
21
Keith
Seitz
<
keiths
@
redhat
.
com
>
*
java
/
lang
/
natThread
.
cc
(
_Jv_ThreadGetData
):
New
function
.
*
java
/
lang
/
natThread
.
cc
(
_Jv_ThreadGetData
):
New
function
.
...
@@ -33,7 +37,7 @@
...
@@ -33,7 +37,7 @@
2006
-
07
-
18
Paolo
Bonzini
<
bonzini
@
gnu
.
org
>
2006
-
07
-
18
Paolo
Bonzini
<
bonzini
@
gnu
.
org
>
*
configure
:
Regenerate
.
*
configure
:
Regenerate
.
2006
-
07
-
18
Gary
Benson
<
gbenson
@
redhat
.
com
>
2006
-
07
-
18
Gary
Benson
<
gbenson
@
redhat
.
com
>
...
...
libjava/java/io/OutputStreamWriter.java
View file @
099cf354
...
@@ -203,6 +203,8 @@ public class OutputStreamWriter extends Writer
...
@@ -203,6 +203,8 @@ public class OutputStreamWriter extends Writer
// Always write -- if we are close()ing then we want to make
// Always write -- if we are close()ing then we want to make
// sure the converter is flushed.
// sure the converter is flushed.
if
(
work
==
null
)
work
=
new
char
[
100
];
writeChars
(
work
,
0
,
wcount
);
writeChars
(
work
,
0
,
wcount
);
wcount
=
0
;
wcount
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment