summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2016-11-01 17:41:48 +0000
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2016-11-15 15:59:13 +0000
commit6c970474e9416807cabde3620045906ad3903c6c (patch)
tree0f39140fa37e9d026db5b6063a8e9e9482893699 /annotations/generate_annotated_java_files.py
parent1f9933397eb3374355bc3e4c6c041a949d40050a (diff)
java.util.zip.Zip* port from openJdk8u60
- Added missing android-changed tags for various changes. - Fixed buggy extended DOS timestamp generation/reading in ZipEntry and ZipUtils. ZipEntry: -Support for extended dos time (better timestamp resolution). -Support for last modification, access time and creation time stored in optional extra data. -Because of last modification field, setTime works for ranges outside of dos time range (< 1980 && > 2099). THIS change breaks ZipEntryTest.test_setTimeJ. IMHO it's worth to adopt new behavior. ZipFile: -Added spliterator support. -Moved entries() iterator implementation to inner named class. -ZipFileInputStream#read modifies pos/rem field in a synchronized block. ZipInputStream: -Removed code for parsing optional extra data in .readLOC (moved to ZipEntry). ZipOutputStream: -New property for inhibiting Zip64 for > 64k entries -ZipEntry last modification, access time and creation time support ZipUtils.java: -New file with common, time and byte-array related methods extracted from ZipEntry and ZipFile java_util_zip_ZipFile.c -Use of ZIP_GetEntry2 with explicit addSlash param zip_util.c/h: -hash(const char *s) no longer used. -New method, ZIP_GetEntry2, with explicit handling of adding slash at the name end -Zip entry name may include embedded null character. Test: CtsLibcoreTestCases Bug: 29935305 Change-Id: Ib691c81b158ec37419a903bfa4261a12139fbff7
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions