John> It seems to think that if you've already assigned the variable,
John> you can't do it again. Is this a problem with Jikes?

Nope, but it is probably a problem with gcj.
I introduced a `final' on that variable when doing the merge, sorry.

Try the appended patch.  If it works for you I'll check it in.

Tom

Index: java/io/ByteArrayOutputStream.java
===================================================================
RCS file: /cvs/java/libgcj/libjava/java/io/ByteArrayOutputStream.java,v
retrieving revision 1.4
diff -u -r1.4 ByteArrayOutputStream.java
--- ByteArrayOutputStream.java  2000/08/16 01:43:42     1.4
+++ ByteArrayOutputStream.java  2000/08/17 23:36:33
@@ -247,10 +247,11 @@
 
   static
   {
-    initial_buffer_size
+    int r
       = Integer.getInteger ("gnu.java.io.ByteArrayOutputStream.initialBufferSize",
                            DEFAULT_INITIAL_BUFFER_SIZE).intValue ();
-    if (initial_buffer_size <= 0)
-      initial_buffer_size = DEFAULT_INITIAL_BUFFER_SIZE;
+    if (r <= 0)
+      r = DEFAULT_INITIAL_BUFFER_SIZE;
+    initial_buffer_size = r;
   }
 }

Reply via email to