[kaffe] CVS kaffe (dalibor): Added missing OPEN_* fields in ZipFile
Kaffe CVS
Kaffe Mailing List <kaffe@kaffe.org>
Thu Sep 25 02:30:03 2003
PatchSet 4062
Date: 2003/09/25 09:27:45
Author: dalibor
Branch: HEAD
Tag: (none)
Log:
Added missing OPEN_* fields in ZipFile
This should help the gjdoc compile get a little bit further.
Members:
ChangeLog:1.1657->1.1658
libraries/javalib/java/util/zip/ZipFile.java:1.9->1.10
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1657 kaffe/ChangeLog:1.1658
--- kaffe/ChangeLog:1.1657 Wed Sep 24 21:44:41 2003
+++ kaffe/ChangeLog Thu Sep 25 09:27:45 2003
@@ -1,3 +1,10 @@
+2003-09-25 Dalibor Topic <robilad@kaffe.org>
+
+ * libraries/javalib/java/util/zip/ZipFile.java:
+ (OPEN_READ, OPEN_DELETE) New constants.
+
+ Reported by: Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
+
2003-09-24 Dalibor Topic <robilad@kaffe.org>
* libraries/javalib/rebuildLib.in:
Index: kaffe/libraries/javalib/java/util/zip/ZipFile.java
diff -u kaffe/libraries/javalib/java/util/zip/ZipFile.java:1.9 kaffe/libraries/javalib/java/util/zip/ZipFile.java:1.10
--- kaffe/libraries/javalib/java/util/zip/ZipFile.java:1.9 Tue May 27 04:51:29 2003
+++ kaffe/libraries/javalib/java/util/zip/ZipFile.java Thu Sep 25 09:27:46 2003
@@ -20,6 +20,20 @@
public class ZipFile implements ZipConstants {
+
+ /**
+ * Mode flag to open a zip file for reading.
+ * From GNU Classpath.
+ */
+ public static final int OPEN_READ = 0x1;
+
+ /**
+ * Mode flag to delete a zip file after reading.
+ * From GNU Classpath.
+ */
+ public static final int OPEN_DELETE = 0x4;
+
+
private String name;
private Ptr zip;