< prev index next >

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

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

*** 72,86 **** static final int ZIP64_EXTCRC = 4; // uncompressed file crc-32 value static final int ZIP64_EXTSIZ = 8; // compressed size, 8-byte static final int ZIP64_EXTLEN = 16; // uncompressed size, 8-byte /* ! * Language encoding flag EFS */ ! static final int EFS = 0x800; // If this bit is set the filename and ! // comment fields for this file must be ! // encoded using UTF-8. /* * Constants below are defined here (instead of in ZipConstants) * to avoid being exposed as public fields of ZipFile, ZipEntry, * ZipInputStream and ZipOutputstream. --- 72,87 ---- static final int ZIP64_EXTCRC = 4; // uncompressed file crc-32 value static final int ZIP64_EXTSIZ = 8; // compressed size, 8-byte static final int ZIP64_EXTLEN = 16; // uncompressed size, 8-byte /* ! * Language encoding flag (general purpose flag bit 11) ! * ! * If this bit is set the filename and comment fields for this ! * entry must be encoded using UTF-8. */ ! static final int USE_UTF8 = 0x800; /* * Constants below are defined here (instead of in ZipConstants) * to avoid being exposed as public fields of ZipFile, ZipEntry, * ZipInputStream and ZipOutputstream.
< prev index next >