< prev index next >

src/java.base/share/classes/java/util/zip/ZipOutputStream.java

Print this page
8203328: Rename EFS in java.util.zip internals to something meaningful
Reviewed-by: sherman

@@ -95,10 +95,11 @@
     private void ensureOpen() throws IOException {
         if (closed) {
             throw new IOException("Stream closed");
         }
     }
+
     /**
      * Compression method for uncompressed (STORED) entries.
      */
     public static final int STORED = ZipEntry.STORED;
 

@@ -230,11 +231,11 @@
         }
         if (! names.add(e.name)) {
             throw new ZipException("duplicate entry: " + e.name);
         }
         if (zc.isUTF8())
-            e.flag |= EFS;
+            e.flag |= USE_UTF8;
         current = new XEntry(e, written);
         xentries.add(current);
         writeLOC(current);
     }
 
< prev index next >