Alexandre Iline
3ff1d554b4
8164982: Fix legal notices in java/lang, java/net, java/util tests
...
Reviewed-by: darcy, iris
2016-08-31 09:46:50 -07:00
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
330910bae2
8155616: java/util/zip/TestLocalTime.java fails intermittently with storing mtime failed
...
Reviewed-by: rriggs
2016-07-19 09:31:59 -07:00
Xueming Shen
ac12555ea3
8161426: Test java/util/zip/InflaterInputStream/TestAvailable.java fails on open-only linux
...
Reviewed-by: bpb
2016-07-14 16:04:38 -07:00
Xueming Shen
47c84f9fe6
7031075: GZIPInputStream's available() reports 1, but read() gives -1
...
Reviewed-by: bpb
2016-07-13 16:37:24 -07:00
Xueming Shen
c19f3e0db2
6233323: ZipEntry.isDirectory() may return false incorrectly
...
8144977: Class.getResourceAsStream("directory") in JAR returns broken InputStream
Reviewed-by: rriggs
2016-06-28 15:36:15 -07:00
Amy Lu
6c3caacddc
8151286: Remove intermittent key from TestLocalTime.java and move back to tier1
...
Reviewed-by: darcy
2016-03-05 10:30:23 +08:00
Xueming Shen
05ca3c971e
8135108: java/util/zip/TestLocalTime.java fails intermittently with Invalid value for NanoOfSecond
...
Reviewed-by: darcy
2016-02-15 18:41:23 -08:00
Xueming Shen
8fe03ae5d2
8148624: Test failure of ConstructInflaterOutput.java
...
Reviewed-by: darcy
2016-02-15 10:27:13 -08:00
Alexandre Iline
451a576a42
8149391: Fix module dependences in java/util tests
...
Reviewed-by: mchung
2016-02-08 18:14:48 -08:00
Xueming Shen
9b77da0f46
8146431: j.u.z.ZipFile.getEntry("") throws AIOOBE
...
Reviewed-by: lancea
2016-01-04 14:34:53 -08:00
Xueming Shen
2b91819eec
8145260: To bring j.u.z.ZipFile's native implementation to Java to remove the expensive jni cost and mmap crash risk [2]
...
Reviewed-by: coffeys
2015-12-14 09:27:15 -08:00
Joe Darcy
3cc6f8e724
8142369: Move TestLocalTime.java to tier 2
...
Reviewed-by: lancea, sherman
2015-11-09 18:27:43 -08:00
Sean Coffey
7af86aa369
6907252: ZipFileInputStream Not Thread-Safe
...
Reviewed-by: sherman
2015-10-15 09:33:03 +01:00
Martin Buchholz
a2f0fe3c94
8136583: Core libraries should use blessed modifier order
...
Run blessed-modifier-order script (see bug)
Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -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
Joe Darcy
86c109e149
8078334: Mark regression tests using randomness
...
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07: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
Martin Buchholz
a194da7ffb
8076105: java/util/zip/EntryCount64k.java failing after push for JDK-8073158
...
Fix Windows newline problem; write enclosing class file for MacOSX
Reviewed-by: sherman, alanb
2015-03-30 09:46:05 -07:00
Martin Buchholz
8ab93c84ec
8073158: zip files with total entry count 0xFFFF need not be ZIP64 files
...
Minor rewrite of crufty zip implementation in parse_manifest.c
Reviewed-by: sherman
2015-03-25 15:36:43 -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
Staffan Friberg
c90bc5b316
6321472: Add CRC-32C API
...
To add CRC-32C api and implementation
Reviewed-by: sherman
2014-11-21 09:28:53 -08:00
Amy Lu
9b4793ec4c
8058855: Update java.util.zip tests to work with modular image
...
Reviewed-by: dholmes, sherman, alanb
2014-10-11 13:24:23 +01:00
Martin Buchholz
3951dda4cf
8056934: ZipInputStream does not correctly handle local header data descriptors with the optional signature missing
...
Fix off-by-one bug in EXTSIG handling; add docs.
Reviewed-by: sherman, alanb
2014-08-29 12:07:11 -07:00
Martin Buchholz
b6e211ab64
8048990: ZipFile.entries() can't handle empty zip entry names
...
GetEntryBytes should never return null pointer for entry names
Reviewed-by: sherman
2014-07-02 10:21:23 -07:00
Sean Coffey
c34e0869d0
8038491: Improve synchronization in ZipFile.read()
...
Reviewed-by: alanb, chegar
2014-04-10 20:01:52 +01:00
Lana Steuck
657b9db1ba
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
...
Updated files with 2011, 2012 and 2013 years according to the file's last updated date
Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Rob McKenna
77bcb60eee
7152892: some jtreg tests fail with permission denied
...
Reviewed-by: coffeys
2014-02-10 14:35:42 +00:00
Tristan Yan
97d83a1cd7
8030089: java/util/zip/ZipFile/FinalizeZipFile.java intermittently fails with fastdebug builds
...
Reviewed-by: alanb
2014-01-08 12:59:57 +00:00
Dan Xu
f9b9d83582
8022219: Intermittent test failures in java/util/zip/ZipFile
...
Reviewed-by: alanb, chegar
2013-12-14 16:37:49 -08:00
Sergey Bylokhov
9ab430a0d2
8027696: Incorrect copyright header in the tests
...
Reviewed-by: alanb, malenkov, mullan
2013-11-12 20:24:25 +04:00
Ivan Gerasimov
62105105d7
8026756: Test java/util/zip/GZIP/GZIPInZip.java failed
...
Reviewed-by: alanb
2013-10-18 16:06:20 +04:00
Ivan Gerasimov
71f3325481
8023431: Test java/util/zip/GZIP/GZIPInZip.java failed
...
Properly close PipedStreams. Additional testing for malformed input
Reviewed-by: darcy, sherman
2013-10-15 21:15:17 +04: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
Ivan Gerasimov
171fdabebb
7021870: GzipInputStream closes underlying stream during reading
...
Reviewed-by: mduigou
2013-05-10 23:56:24 +04:00
Akhil Arora
e9d3d7b789
8012645: Stream methods on BitSet, Random, ThreadLocalRandom, ZipFile
...
Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: mduigou, henryjen, alanb, martin, psandoz
2013-05-02 09:18:56 -07:00
Martin Buchholz
2a57075d85
8007905: To add a system property to create zip file without using ZIP64 end table when entry count > 64k
...
Provide a system property to inhibit ZIP64 mode for >64k entries
Reviewed-by: alanb, sherman
2013-03-26 13:34:54 -07:00
Xueming Shen
c3343fdb49
8006773: test/java/util/zip/ZipFile/FinalizeZipFile.java failing intermittently
...
Fixed the test case
Reviewed-by: alanb
2013-01-23 10:29:50 -08:00
Mark Sheppard
c9063f559f
8003890: corelibs test scripts should pass TESTVMOPTS
...
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Alan Bateman
430592a30e
7197491: update copyright year to match last edit in jdk8 jdk repository
...
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Xueming Shen
b5bee4c17e
7188852: Move implementation of De/Inflater.getBytesRead/Writtten() to java from native
...
Re-implemented getBytesRead/Writtten() at java level
Reviewed-by: andrew, alanb
2012-08-03 13:40:03 -07:00
Alan Bateman
3269d85838
7113349: Initial changeset for Macosx port to jdk
...
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Xueming Shen
8df2ceb118
7109837: Provide a mechanism for computing an Adler32 checksum for the contents of a ByteBuffer
...
Added methods Adler32/CRC32.update(ByteBuffer)
Reviewed-by: alanb
2011-11-29 13:05:35 -08:00
Xueming Shen
5b3d1ed37b
7110149: Update the JDK8 bundled zlib library to the latest version 1.2.5
...
Updated to zlib-1.2.5
Reviewed-by: alanb
2011-11-29 11:39:59 -08:00
Neil Richards
c125edce88
7094995: Trailing daemon thread causes continuous GC in agentvm mode
...
Shutdown GcInducingThread once test (successfully) finishes
Reviewed-by: alanb, chegar, dholmes, darcy
2011-11-18 09:03:43 +00:00
Xueming Shen
2825119dca
7077769: (zipfs) ZipFileSystem.writeCEN() writes wrong "data size" for ZIP64 extended information extra field
...
Fixed the wrong size when writing out the cen table for ZIP64
Reviewed-by: alanb
2011-08-26 15:36:21 -07:00