Commit Graph

68 Commits

Author SHA1 Message Date
Axel Boldt-Christmas
f5ab7dff40 8332494: java/util/zip/EntryCount64k.java failing with java.lang.RuntimeException: '\\A\\Z' missing from stderr
Reviewed-by: jpai, stefank, dholmes
2024-05-21 06:14:44 +00:00
Bill Huang
375bfac8e7 8327474: Review use of java.io.tmpdir in jdk tests
Reviewed-by: michaelm, jpai
2024-04-03 17:04:09 +00:00
Archie Cobbs
d3f3011d56 7036144: GZIPInputStream readTrailer uses faulty available() test for end-of-stream
Reviewed-by: jpai
2024-03-20 15:01:30 +00:00
Lance Andersen
20c71ceacd 8321156: Improve the handling of invalid UTF-8 byte sequences for ZipInputStream::getNextEntry and ZipFile::getComment
Reviewed-by: jpai, alanb
2024-02-26 15:31:55 +00:00
Jaikiran Pai
b366492761 8326152: Bad copyright header in test/jdk/java/util/zip/DeflaterDictionaryTests.java
Reviewed-by: tschatzl
2024-02-19 09:56:45 +00:00
Eirik Bjørsnøs
9451677daa 8326100: DeflaterDictionaryTests should use Deflater.getBytesWritten instead of Deflater.getTotalOut
Reviewed-by: alanb, jpai
2024-02-19 09:15:14 +00:00
Eirik Bjørsnøs
628cd8a489 8303866: Allow ZipInputStream.readEnd to parse small Zip64 ZIP files
Reviewed-by: lancea, jpai
2024-02-13 16:26:37 +00:00
Eirik Bjørsnøs
842b895f09 8303891: Speed up Zip64SizeTest using a small ZIP64 file
8259866: two java.util tests failed with "IOException: There is not enough space on the disk"

Reviewed-by: lancea, jpai
2024-02-13 16:18:50 +00:00
Eirik Bjørsnøs
63cb1f8818 8321396: Retire test/jdk/java/util/zip/NoExtensionSignature.java
Reviewed-by: lancea
2024-02-02 20:21:46 +00:00
Eirik Bjørsnøs
f613e13397 8313739: ZipOutputStream.close() should always close the wrapped stream
Reviewed-by: jpai, lancea
2024-02-02 20:20:36 +00:00
Eirik Bjørsnøs
26de9e247a 8321616: Retire binary test vectors in test/jdk/java/util/zip/ZipFile
8322830: Add test case for ZipFile opening a ZIP with no entries

Reviewed-by: lancea
2024-01-11 06:32:24 +00:00
Stefan Karlsson
cbe329b90a 8321713: Harmonize executeTestJvm with create[Limited]TestJavaProcessBuilder
Reviewed-by: lkorinth, lmesnik
2024-01-03 08:53:01 +00:00
Eirik Bjørsnøs
2cf5f01397 8322802: Add testing for ZipFile.getEntry respecting the 'Language encoding' flag
Reviewed-by: lancea, jpai
2024-01-02 20:31:38 +00:00
Sean Coffey
f6fe39ff11 8322078: ZipSourceCache.testKeySourceMapping() test fails with The process cannot access the file because it is being used by another process
Reviewed-by: lancea
2023-12-20 22:03:10 +00:00
Lance Andersen
0eb299af79 8316141: Improve CEN header validation checking
Reviewed-by: alanb
2023-12-08 16:37:53 +00:00
Justin Lu
2bb4b9398d 8319569: Several java/util tests should be updated to accept VM flags
Reviewed-by: naoto, lancea
2023-11-23 00:27:27 +00:00
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