aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/BufferedWriter.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/io/BufferedWriter.java')
-rw-r--r--libjava/java/io/BufferedWriter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/io/BufferedWriter.java b/libjava/java/io/BufferedWriter.java
index 009bdcc..4beb5c5 100644
--- a/libjava/java/io/BufferedWriter.java
+++ b/libjava/java/io/BufferedWriter.java
@@ -103,7 +103,7 @@ public class BufferedWriter extends Writer
*/
public BufferedWriter (Writer out, int size)
{
- super(out);
+ super(out.lock);
this.out = out;
this.buffer = new char[size];
this.count = 0;