Patch: java.util.zip fix

Tom Tromey tromey@redhat.com
Thu Dec 21 10:37:00 GMT 2000


I'm checking in this simple java.util.zip fix.

2000-12-21  Tom Tromey  <tromey@redhat.com>

	* java/util/zip/Deflater.java (update, init): Now private.

Tom

Index: java/util/zip/Deflater.java
===================================================================
RCS file: /cvs/gcc/egcs/libjava/java/util/zip/Deflater.java,v
retrieving revision 1.7
diff -u -r1.7 Deflater.java
--- Deflater.java	2000/11/17 21:42:28	1.7
+++ Deflater.java	2000/12/21 18:34:21
@@ -57,8 +57,8 @@
   }
 
   public native int deflate (byte[] buf, int off, int len);
-  public native void init (int level, boolean noHeader);
-  public native void update ();
+  private native void init (int level, boolean noHeader);
+  private native void update ();
 
   public Deflater ()
   {


More information about the Java-patches mailing list