Commit Graph

9 Commits

Author SHA1 Message Date
Xueming Shen
e944d9f280 8161942: java.util.zip.ZipEntry.java not covering UpperLimit range of DOS epoch
Reviewed-by: redestad
2016-07-22 16:32:48 -07:00
Xueming Shen
3d82fdcaad 8130914: java/util/zip/TestExtraTime.java fails with "java.lang.RuntimeException: setTime should make getLastModifiedTime return the specified instant: 3078282244456 got: 3078282244455"
Fixed the 32-bit overflow.

Reviewed-by: rriggs
2015-07-22 21:11:38 -07:00
Xueming Shen
47dbbc7b72 8075526: Need a way to read and write ZipEntry timestamp using local date/time without tz conversion
To add a pair of set/getTimeLocal()

Reviewed-by: ksrini, rriggs
2015-07-22 21:43:33 +00:00
Xueming Shen
2de64493a2 8076641: getNextEntry throws ArrayIndexOutOfBoundsException when unzipping file
To add extra sanity check for entry extra data

Reviewed-by: alanb
2015-04-06 13:41:10 -07:00
Claes Redestad
c8e99e3610 8073497: Lazy conversion of ZipEntry time
Reviewed-by: sherman, plevart
2015-02-28 13:17:13 +01:00
Claes Redestad
16989e7b17 8068790: ZipEntry/JarEntry.setCreation/LastAccessTime(null) don't throw NPE as specified
Reviewed-by: coffeys, sherman
2015-02-21 13:46:24 +01:00
Xueming Shen
54b7d41e69 8023713: ZipFileSystem crashes on old zip file
To handle extra data field copy correctly even the extra data does not follow the spec

Reviewed-by: alanb, martin, chegar
2013-08-28 09:46:55 -07:00
Xueming Shen
dca36c08f3 8015666: test/tools/pack200/TimeStamp.java failing
To keep the default behavior of ZOS unchanged, if ze extra time not explicitly set

Reviewed-by: alanb, ksrini
2013-08-08 12:03:04 -07:00
Xueming Shen
9e918d6fbc 4759491: method ZipEntry.setTime(long) works incorrectly
6303183: Support NTFS and Unix-style timestamps for entries in Zip files
7012856: (zipfs) Newly created entry in zip file system should set all file times non-null values
7012868: (zipfs) file times of entry in zipfs should always be the same regardless of TimeZone

To add suuport of Info-ZIP extended timestamp in extra data fields

Reviewed-by: martin, alanb
2013-05-29 19:50:47 -07:00