src/java.base/share/classes/java/util/zip/ZipConstants64.java
changeset 50238 a9307f400f5a
parent 47216 71c04702a3d5
equal deleted inserted replaced
50237:ec52b4d094c0 50238:a9307f400f5a
    72     static final int  ZIP64_EXTCRC = 4;       // uncompressed file crc-32 value
    72     static final int  ZIP64_EXTCRC = 4;       // uncompressed file crc-32 value
    73     static final int  ZIP64_EXTSIZ = 8;       // compressed size, 8-byte
    73     static final int  ZIP64_EXTSIZ = 8;       // compressed size, 8-byte
    74     static final int  ZIP64_EXTLEN = 16;      // uncompressed size, 8-byte
    74     static final int  ZIP64_EXTLEN = 16;      // uncompressed size, 8-byte
    75 
    75 
    76     /*
    76     /*
    77      * Language encoding flag EFS
    77      * Language encoding flag (general purpose flag bit 11)
       
    78      *
       
    79      * If this bit is set the filename and comment fields for this
       
    80      * entry must be encoded using UTF-8.
    78      */
    81      */
    79     static final int EFS = 0x800;       // If this bit is set the filename and
    82     static final int USE_UTF8 = 0x800;
    80                                         // comment fields for this file must be
       
    81                                         // encoded using UTF-8.
       
    82 
    83 
    83     /*
    84     /*
    84      * Constants below are defined here (instead of in ZipConstants)
    85      * Constants below are defined here (instead of in ZipConstants)
    85      * to avoid being exposed as public fields of ZipFile, ZipEntry,
    86      * to avoid being exposed as public fields of ZipFile, ZipEntry,
    86      * ZipInputStream and ZipOutputstream.
    87      * ZipInputStream and ZipOutputstream.