summaryrefslogtreecommitdiff
path: root/src/java.base/share/classes/java/util/zip
AgeCommit message (Collapse)AuthorLines
2026-09-298377992: (zipfs) Align ZipFileSystem END header validation with the ZipFile ↵jdk-17.0.21+8Antonio Vieiro-5/+11
implementation Reviewed-by: clanger, sgehwolf, andrew Backport-of: bb6b279495ceff8442dbd0225756b92d466d5309
2026-09-288280404: Unexpected exception thrown when CEN file entry comment length is ↵Christoph Langer-1/+9
not valid Reviewed-by: rschmelter Backport-of: f0995abe62b81cf9c96cc07caa0ac27d00c96ff1
2026-08-038341625: Improve ZipFile validation of the END headerGoetz Lindenmaier-3/+6
Backport-of: d999559f642129c742601b3f17aece54bfb9f70b
2026-01-227036144: GZIPInputStream readTrailer uses faulty available() test for ↵Todd V. Jonker-15/+9
end-of-stream Backport-of: d3f3011d56267360d65841da3550eca79cf1575b
2025-04-058342562: Enhance Deflater operationsAlexei Voitylov-9/+39
Reviewed-by: mbalao Backport-of: 17f7df55fb762488c1054985830ea13840489df2
2024-09-228272746: ZipFile can't open big file (NegativeArraySizeException)Goetz Lindenmaier-0/+3
Backport-of: 848b16a3f933c1cffbce93337a5d9b4e48ce4b45
2024-04-258263940: NPE when creating default file system when default file system ↵Amos Shi-4/+8
provider is packaged as JAR file on class path Reviewed-by: lucy Backport-of: 717792c3b728584413572e7aede83290779be2a2
2024-01-098276123: ZipFile::getEntry will not return a file entry when there is a ↵Sergey Bylokhov-5/+10
directory entry of the same name within a Zip File Reviewed-by: mbalao Backport-of: b85500e52479c48b02a96b28fddefa2b25d5d9bd
2023-08-188313765: Invalid CEN header (invalid zip64 extra data field size)Ben Taylor-9/+43
Reviewed-by: andrew, serb Backport-of: 13f6450e2e70df4df8bd882def837fbd5bef1524
2023-07-048302483: Enhance ZIP performanceYuri Nesterenko-0/+130
Reviewed-by: mbalao Backport-of: 05661fdcb4ced0c7c2e9eab3464c2447f38c94c3
2022-03-298278794: Infinite loop in DeflaterOutputStream.finish()Martin Doerr-7/+23
Backport-of: ff0b0927a2df8b36f8fd6ed41bd4e20e71a5b653
2022-03-228193682: Infinite loop in ZipOutputStream.close()Jonathan Dowland-67/+82
Backport-of: 1e9ed54d362b8c57be5fbbac2de5afbd0f05435f
2022-03-208277087: ZipException: zip END header not found at ZipFile#Source.findENDGoetz Lindenmaier-3/+6
Backport-of: e3243ee963d074c892a0ed16a00fd91b440c96ac
2021-07-218262967: Improve Zip file supportConor Cleary-0/+1
Reviewed-by: ahgross, rhalade, aefimov
2021-07-218260967: Better jar file validationWeijun Wang-0/+20
Reviewed-by: hchao, valeriep
2021-06-028266459: Implement JEP 411: Deprecate the Security Manager for Removaljdk-17+25Weijun Wang-1/+2
Co-authored-by: Sean Mullan <mullan@openjdk.org> Co-authored-by: Lance Andersen <lancea@openjdk.org> Co-authored-by: Weijun Wang <weijun@openjdk.org> Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-05-318267587: Update java.util to use enhanced switchTagir F. Valeev-27/+23
Reviewed-by: iris
2021-05-258267110: Update java.util to use instanceof pattern variablePatrick Concannon-2/+1
Reviewed-by: lancea, naoto
2021-04-278265496: improve null check in DeflaterOutputStream/InflaterInputStreamHamlin Li-14/+14
Reviewed-by: lancea, naoto
2021-03-028262875: doccheck: empty paragraphs, etc in java.base moduleJonathan Gibbons-2/+2
Reviewed-by: alanb, darcy, lancea
2021-02-038260617: Merge ZipFile encoding check with the initial hash calculationClaes Redestad-125/+109
Reviewed-by: lancea
2021-01-208260010: UTF8ZipCoder not thread-safe since JDK-8243469Claes Redestad-3/+9
Reviewed-by: lancea
2021-01-208259867: Move encoding checks into ZipCoderEirik Bjorsnos-31/+30
Reviewed-by: redestad, lancea
2020-11-118256018: Adler32/CRC32/CRC32C missing reachabilityFenceLance Andersen-7/+22
Reviewed-by: naoto, alanb
2020-11-078255989: Remove explicitly unascribed authorship from Java source filesPavel Rappo-2/+1
Reviewed-by: redestad, mr, mchung, iris, serb
2020-11-028255529: Remove unused methods from java.util.zip.ZipFileLance Andersen-12/+0
Reviewed-by: naoto, redestad
2020-10-158253952: Refine ZipOutputStream.putNextEntry() to recalculate ZipEntry's ↵Volker Simonis-6/+19
compressed size Reviewed-by: lancea, alanb
2020-09-308138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move ↵Philippe Marschall-13/+13
it to the jdk.internal.vm.annotation package Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
2020-09-168244706: GZIP "OS" header flag hard-coded to 0 instead of 255 (RFC 1952 ↵Jaikiran Pai-2/+5
non-compliance) Reviewed-by: lancea, bchristi
2020-09-078250968: Symlinks attributes not preserved when using jarsigner on zip filesSean Coffey-13/+12
Reviewed-by: lancea, weijun, hchao
2020-08-118251205: Add missing javadoc comments to ZipConstants.javaLance Andersen-49/+186
Reviewed-by: naoto, rriggs
2020-07-14MergeMikael Vidstedt-5/+52
2020-07-028218021: Have jarsigner preserve posix permission attributesSean Coffey-4/+43
Reviewed-by: weijun, lancea, alanb
2020-06-108246129: ZIP entries created for DOS epoch include local timezone metadataClaes Redestad-23/+20
Reviewed-by: lancea
2020-05-118193066: Avoid use of capturing lambdas in JarFileClaes Redestad-41/+24
Reviewed-by: lancea, alanb
2020-05-118244624: Improve handling of JarFile META-INF resourcesClaes Redestad-38/+123
Reviewed-by: lancea, weijun, martin
2020-04-278243469: Lazily encode name in ZipFile.getEntryPosClaes Redestad-135/+187
Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com> Reviewed-by: lancea, simonis
2020-04-238242848: Improve performance of InflaterOutputStream.write()Volker Simonis-15/+9
Reviewed-by: stuefe, vtewari, redestad, lancea
2020-04-228243254: Examine ZipFile slash optimization for non-ASCII compatible charsetsClaes Redestad-67/+104
Reviewed-by: lancea, naoto, martin
2020-04-188242959: Optimize ZipFile.getEntry by folding lookups for name and name+'/'Eirik Bjørsnøs-50/+37
Reviewed-by: lancea, redestad
2020-04-178242596: Improve JarFile.getEntry performance for multi-release jar filesClaes Redestad-7/+91
Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com> Reviewed-by: lancea, redestad
2020-04-158242842: Avoid reallocating name when checking for trailing slash in ↵Claes Redestad-9/+16
ZipFile.getEntryPos Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com> Reviewed-by: alanb, lancea
2020-01-318233234: Better Zip NamingLance Andersen-5/+52
Reviewed-by: alanb, ahgross, redestad, coffeys, mschoene, rhalade
2019-12-018234147: Avoid looking up standard charsets in core librariesIvan Gerasimov-11/+13
Reviewed-by: alanb
2019-11-218234335: Remove line break in class declaration in java.baseJulia Boes-28/+14
Remove line break in class declarations where applicable Reviewed-by: rriggs, lancea
2019-10-308231451: ZipFileInputStream::skip handling of negative values with STORED ↵Lance Andersen-2/+15
entries Reviewed-by: clanger, bpb, alanb
2019-09-248231186: Replace html tag <code>foo</code> with javadoc tag {@code foo} in ↵Julia Boes-42/+42
java.base Minor coding style update of javadoc tag in any file in java.base Reviewed-by: bchristi, lancea
2019-09-208230648: Replace @exception tag with @throws in java.baseJulia Boes-85/+85
Minor coding style update of javadoc tag in any file in java.base Reviewed-by: prappo, lancea
2019-08-298229997: Apply java.io.Serial annotations in java.baseJoe Darcy-3/+6
Reviewed-by: alanb, rriggs
2019-08-078226530: ZipFile reads wrong entry size from ZIP64 entriesLance Andersen-16/+33
Reviewed-by: bpb, clanger, shade