< prev index next >
src/java.base/share/classes/java/util/zip/ZipInputStream.java
Print this page
rev 11478 : 8073497: Lazy conversion of ZipEntry time
Reviewed-by: TBD
@@ -301,11 +301,11 @@
// now get the remaining fields for the entry
if ((flag & 1) == 1) {
throw new ZipException("encrypted ZIP entry not supported");
}
e.method = get16(tmpbuf, LOCHOW);
- e.time = dosToJavaTime(get32(tmpbuf, LOCTIM));
+ e.time = get32(tmpbuf, LOCTIM);
if ((flag & 8) == 8) {
/* "Data Descriptor" present */
if (e.method != DEFLATED) {
throw new ZipException(
"only DEFLATED entries can have EXT descriptor");
< prev index next >