Commit Graph

52 Commits

Author SHA1 Message Date
Eirik Bjorsnos
f0b7eb519a 8304020: Speed up test/jdk/java/util/zip/ZipFile/TestTooManyEntries.java and clarify its purpose
Reviewed-by: lancea, martin, jpai
2023-11-16 06:30:29 +00:00
Eirik Bjorsnos
07eaea8c25 8303920: Avoid calling out to python in DataDescriptorSignatureMissing test
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: jpai, lancea, iris
2023-11-14 07:30:02 +00:00
Lance Andersen
82747132b0 8314891: Additional Zip64 extra header validation
Reviewed-by: coffeys
2023-11-07 16:52:22 +00:00
Sean Coffey
8d9a4b43f4 8317678: Fix up hashCode() for ZipFile.Source.Key
Reviewed-by: lancea, alanb, jpai
2023-10-23 17:12:41 +00:00
Agnibho Hom Chowdhury
34653c1e73 8249832: java/util/zip/DataDescriptorSignatureMissing.java uses @ignore w/o bug-id
Reviewed-by: msheppar
2023-10-17 11:58:17 +00:00
Lance Andersen
13f6450e2e 8313765: Invalid CEN header (invalid zip64 extra data field size)
Reviewed-by: simonis, alanb, coffeys
2023-08-16 15:42:36 +00:00
Lance Andersen
fff7e1ad00 8302483: Enhance ZIP performance
Reviewed-by: ahgross, alanb, rhalade, coffeys
2023-07-18 21:17:07 +00:00
Jaikiran Pai
d22bcc813e 8307403: java/util/zip/DeInflate.java timed out
Reviewed-by: simonis, lancea
2023-05-16 05:06:46 +00:00
Amit Kumar
fee02f0668 8299748: java/util/zip/Deinflate.java failing on s390x
Reviewed-by: jpai, lancea, simonis, aturbanov
2023-04-28 11:55:59 +00:00
Eirik Bjorsnos
85e3974470 8304014: Convert test/jdk/java/util/zip/ZipFile/CorruptedZipFiles.java to junit
Reviewed-by: lancea
2023-04-03 16:11:37 +00:00
Eirik Bjorsnos
65e01da925 8304013: Add a fast, non-manual alternative to test/jdk/java/util/zip/ZipFile/TestTooManyEntries
Reviewed-by: lancea, martin
2023-03-26 23:00:15 +00:00
Eirik Bjorsnos
78f71b4d41 8301873: Avoid string decoding in ZipFile.Source.getEntryPos
Reviewed-by: redestad, lancea
2023-02-18 12:39:19 +00:00
Volker Simonis
802ef38060 8292327: java.io.EOFException in InflaterInputStream after JDK-8281962
Reviewed-by: alanb, lancea
2022-08-17 09:34:41 +00:00
Thejasvi Voniadka
784fa0add7 8282036: Change java/util/zip/ZipFile/DeleteTempJar.java to stop HttpServer cleanly in case of exceptions
Reviewed-by: jpai, alanb, dfuchs
2022-06-28 01:55:17 +00:00
Ravi Reddy
7891085a87 8284771: java/util/zip/CloseInflaterDeflaterTest.java failed with "AssertionError: Expected IOException to be thrown, but nothing was thrown"
Reviewed-by: lancea
2022-04-12 20:39:05 +00:00
Ravi Reddy
ff0b0927a2 8278794: Infinite loop in DeflaterOutputStream.finish()
Reviewed-by: coffeys, lancea
2022-03-18 15:31:30 +00:00
Lance Andersen
f0995abe62 8280404: Unexpected exception thrown when CEN file entry comment length is not valid
Reviewed-by: alanb
2022-03-07 16:10:31 +00:00
Lance Andersen
a020b6ba8f 8280409: JarFile::getInputStream can fail with NPE accessing ze.getName()
Reviewed-by: mullan, alanb
2022-02-23 16:56:50 +00:00
Masanori Yano
848b16a3f9 8272746: ZipFile can't open big file (NegativeArraySizeException)
Reviewed-by: lancea
2022-01-18 18:20:57 +00:00
Ravi Reddy
1e9ed54d36 8193682: Infinite loop in ZipOutputStream.close()
Reviewed-by: lancea, coffeys
2021-12-01 15:35:00 +00:00
Sergey Bylokhov
e3243ee963 8277087: ZipException: zip END header not found at ZipFile#Source.findEND
Reviewed-by: lancea
2021-11-23 08:57:34 +00:00
Lance Andersen
b85500e524 8276123: ZipFile::getEntry will not return a file entry when there is a directory entry of the same name within a Zip File
Reviewed-by: redestad, alanb
2021-11-12 17:12:13 +00:00
Igor Ignatyev
d825198e55 8263556: remove @modules java.base from tests
Reviewed-by: dcubed, naoto, iris
2021-03-15 17:05:28 +00:00
Volker Simonis
60159cff40 8253952: Refine ZipOutputStream.putNextEntry() to recalculate ZipEntry's compressed size
Reviewed-by: lancea, alanb
2020-10-15 09:18:26 +00:00
Lance Andersen
812b39f574 8252739: Deflater.setDictionary(byte[], int off, int len) ignores the starting offset for the dictionary
Reviewed-by: uschindler, alanb
2020-09-23 14:21:45 +00:00
Jaikiran Pai
e5866aa756 8244706: GZIP "OS" header flag hard-coded to 0 instead of 255 (RFC 1952 non-compliance)
Reviewed-by: lancea, bchristi
2020-09-16 15:10:57 +00:00
Lance Andersen
65455ff60b 8207936: TestZipFile.java can fail with an OOM error
Reviewed-by: joehw, redestad
2020-06-11 12:58:13 -04:00
Claes Redestad
99136026b8 8246129: ZIP entries created for DOS epoch include local timezone metadata
Reviewed-by: lancea
2020-06-10 20:53:04 +02:00
Volker Simonis
2594f0b9b8 8242848: Improve performance of InflaterOutputStream.write()
Reviewed-by: stuefe, vtewari, redestad, lancea
2020-04-23 14:23:53 +02:00
Claes Redestad
268ea904ec 8243254: Examine ZipFile slash optimization for non-ASCII compatible charsets
Reviewed-by: lancea, naoto, martin
2020-04-22 21:13:10 +02:00
Volker Simonis
b38f3cf3bd 8240226: DeflateIn_InflateOut.java test incorrectly assumes size of compressed file
Reviewed-by: martin, alanb
2020-02-28 19:49:39 +01:00
Amy Lu
14ca254fbe 8234079: ZipFileInputStreamSkipTest.java runs zero test
Reviewed-by: lancea
2019-11-13 21:56:28 +08:00
Lance Andersen
3cc7b5babe 8231451: ZipFileInputStream::skip handling of negative values with STORED entries
Reviewed-by: clanger, bpb, alanb
2019-10-30 15:54:41 -04:00
Kiran Ravikumar
4b36fb50ed 8231770: Test java/util/zip/FlaterTest.java fails with -Xcheck:jni
Reviewed-by: alanb, coffeys, chegar
2019-10-09 10:14:03 +00:00
Lance Andersen
5233e25c4c 8226530: ZipFile reads wrong entry size from ZIP64 entries
Reviewed-by: bpb, clanger, shade
2019-08-07 14:04:10 -04:00
Sean Coffey
8d4f4b0491 8213561: ZipFile/MultiThreadedReadTest.java timed out in tier1
Reviewed-by: lancea
2019-06-20 08:02:41 +00:00
Christoph Langer
206ea259ec 8215472: (zipfs) Cleanups in implementation classes of jdk.zipfs and tests
Reviewed-by: redestad, lancea
2018-12-19 10:36:16 +00:00
Lance Andersen
87f243d539 8213328: Update test copyrights in test/java/util/zip and test/jdk/tools
Reviewed-by: joehw
2018-11-04 13:06:02 -05:00
Lance Andersen
a655e6b52b 8212129: Remove finalize methods from java.util.zip.ZipFIle/Inflator/Deflator
Reviewed-by: rriggs, sherman, alanb, clanger
2018-10-26 14:02:31 -04:00
Amy Lu
6c7a19d52f 8209930: Refactor java/util/zip/ZipFile/deletetempjar.sh to plain java test
Reviewed-by: alanb
2018-09-10 20:17:26 +08:00
Igor Ignatyev
21a0458422 8210112: remove jdk.testlibrary.ProcessTools
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Xueming Shen
84234d1abb 8206389: JarEntry.setCreation/LastAccessTime without setLastModifiedTime causes Invalid CEN header
Reviewed-by: alanb, martin
2018-07-09 13:08:30 -07:00
Xueming Shen
ae662fdaa8 8197989: java/util/zip/ZipFile/TestCleaner.java failed with "cleaner failed to clean zipfile
Reviewed-by: rriggs
2018-06-05 12:27:07 -07:00
Martin Buchholz
42f7e3f69e 8203328: Rename EFS in java.util.zip internals to something meaningful
Reviewed-by: sherman
2018-05-23 10:34:18 -07:00
David M Lloyd
883d41fefc 6341887: java.util.zip: Add ByteBuffer methods to Inflater/Deflater
Reviewed-by: alanb
2018-04-19 10:33:35 -07:00
Martin Buchholz
6f37b4cbce 8200116: ConstructInflaterOutput, ConstructDeflaterInput still spamming test logs
End() should always expect to be called eventually

Reviewed-by: sherman, ulfzibis
2018-03-28 21:13:55 -07:00
Alexandre Iline
88af1f11ee 8199616: Fix @module declarations in tier1 tests
Reviewed-by: mchung, alanb
2018-03-16 03:15:35 -07:00
Xueming Shen
3b0e59e8d8 8185582: Update Zip implementation to use Cleaner, not finalizers
Reviewed-by: plevart, rriggs, mchung
2017-12-11 11:45:02 -08:00
Xueming Shen
fad5094503 8191918: tomcat gzip-compressed response bodies appear to be broken in update 151
Reviewed-by: psandoz
2017-12-01 22:04:03 -08:00
Claes Redestad
81b7f75837 8188869: jdk9/10 reject zip/jar files where seconds value of timestamp is out of supported range 0 - 59
Reviewed-by: sherman, alanb
2017-10-12 16:00:29 +02:00