Roger Riggs
55e7494dee
8365703: Refactor ZipCoder to use common JLA.uncheckedNewStringNoRepl
...
Reviewed-by: lancea, vyazici
2025-08-19 23:33:40 +00:00
Volkan Yazici
e918a59b1d
8357821: Revert incorrectly named JavaLangAccess::unchecked* methods
...
Reviewed-by: pminborg
2025-06-06 06:26:09 +00:00
Jaikiran Pai
029e3bf8f5
8349914: ZipFile::entries and ZipFile::getInputStream not consistent with each other when there are duplicate entries
...
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Reviewed-by: lancea
2025-06-06 02:07:51 +00:00
Jaikiran Pai
b5cfd76c04
8358456: ZipFile.getInputStream(ZipEntry) throws unspecified IllegalArgumentException
...
Reviewed-by: lancea
2025-06-04 06:38:06 +00:00
Per Minborg
da228e0693
8357145: CRC/Inflater/Deflater/Adler32 methods that take a ByteBuffer throw UOE if backed by shared memory segment
...
Reviewed-by: alanb
2025-05-27 19:15:40 +00:00
Volkan Yazici
8fcfddb2d2
8353197: Document preconditions for JavaLangAccess methods
...
Reviewed-by: pminborg, liach
2025-05-15 14:54:27 +00:00
Jaikiran Pai
2c4e8d211a
8347712: IllegalStateException on multithreaded ZipFile access with non-UTF8 charset
...
8355975: ZipFile uses incorrect Charset if another instance for the same ZIP file was constructed with a different Charset
Co-authored-by: Eirik Bjørsnøs <eirbjo@openjdk.org>
Reviewed-by: eirbjo, lancea, redestad, alanb
2025-05-14 01:53:19 +00:00
Jaikiran Pai
cf871db447
8342562: Enhance Deflater operations
...
Reviewed-by: rhalade, alanb, lancea
2025-04-16 13:05:32 +05:30
Jaikiran Pai
9844c1c52b
8066583: DeflaterInput/OutputStream and InflaterInput/OutputStream should explain responsibility for freeing resources
...
Reviewed-by: liach, alanb, lancea
2025-04-08 06:07:44 +00:00
Shaojin Wen
fdfb68c8d0
8344168: Change Unsafe base offset from int to long
...
Reviewed-by: liach
2025-01-30 15:57:13 +00:00
Jaikiran Pai
36b7abd617
8225763: Inflater and Deflater should implement AutoCloseable
...
Reviewed-by: lancea, rriggs, alanb, smarks
2025-01-15 01:04:44 +00:00
Eirik Bjørsnøs
857f68c60f
8344179: SecurityManager cleanup in the ZIP and JAR areas
...
Reviewed-by: lancea, rriggs, mullan, jpai
2024-11-15 07:47:11 +00:00
Shaojin Wen
0dab920b70
8343984: Fix Unsafe address overflow
...
Reviewed-by: pminborg, alanb
2024-11-13 23:17:26 +00:00
Sean Mullan
db85090553
8338411: Implement JEP 486: Permanently Disable the Security Manager
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Eirik Bjørsnøs
2f1ba5ef09
8343307: Throw ZipException instead of IAE in ZipFile.Source::initCEN
...
Reviewed-by: lancea, jpai
2024-10-31 08:32:48 +00:00
Eirik Bjørsnøs
d49f21043b
8342040: Further improve entry lookup performance for multi-release JARs
...
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad
2024-10-28 18:21:18 +00:00
Lance Andersen
54a744b023
8340553: ZipEntry field validation does not take into account the size of a CEN header
...
Reviewed-by: jpai, redestad, eirbjo
2024-10-21 15:34:27 +00:00
Eirik Bjørsnøs
950e3a7587
8341625: Improve ZipFile validation of the END header
...
Reviewed-by: lancea
2024-10-09 15:56:38 +00:00
Eirik Bjørsnøs
7a1e832ea9
8336843: Deprecate java.util.zip.ZipError for removal
...
Reviewed-by: liach, lancea
2024-10-08 10:08:31 +00:00
Eirik Bjørsnøs
f62dba3651
8341597: ZipFileInflaterInputStream input buffer size uses uncompressed size
...
Reviewed-by: lancea
2024-10-08 09:59:29 +00:00
Claes Redestad
ffb60e55cd
8341594: Use Unsafe to coalesce reads in java.util.zip.ZipUtils
...
Reviewed-by: lancea
2024-10-08 08:14:40 +00:00
Eirik Bjørsnøs
f7bb647dc8
8341595: Clean up iteration of CEN headers in ZipFile.Source.initCEN
...
Reviewed-by: lancea, redestad
2024-10-07 16:34:08 +00:00
Eirik Bjørsnøs
cff420d8d3
8339711: ZipFile.Source.initCEN needlessly reads END header
...
Reviewed-by: lancea, jpai, redestad
2024-09-30 13:06:49 +00:00
Claes Redestad
d8790aa048
8340885: Desugar ZipCoder.Comparison
...
Reviewed-by: lancea, eirbjo
2024-09-25 13:04:46 +00:00
Lance Andersen
0f9f777520
8336025: Improve ZipOutputSream validation of MAX CEN Header field limits
...
Reviewed-by: alanb
2024-09-23 16:07:12 +00:00
Joe Darcy
89c172ac47
8340082: Use inline return tag in java.base
...
Reviewed-by: iris, prappo, lancea, djelinski, naoto, liach
2024-09-13 16:49:28 +00:00
Eirik Bjørsnøs
7f1dae12e5
8339874: Avoid duplicate checking of trailing slash in ZipFile.getZipEntry
...
Reviewed-by: lancea, redestad
2024-09-12 15:24:22 +00:00
Liam Miller-Cushon
8438c5853f
8336844: ZipConstants64 defines duplicate constants EXTID_ZIP64 and ZIP64_EXTID
...
Reviewed-by: jpai, vtewari, lancea
2024-07-22 17:20:58 +00:00
Eirik Bjørsnøs
d51141e5fc
8321274: Rename ZipEntry.extraAttributes to ZipEntry.externalFileAttributes
...
Reviewed-by: lancea, jpai
2024-07-03 04:36:32 +00:00
Jaikiran Pai
d8af58941b
8026127: Deflater/Inflater documentation incomplete/misleading
...
Reviewed-by: lancea
2024-06-07 00:35:51 +00:00
Jaikiran Pai
d7d1afb0a8
8206447: InflaterInputStream.skip receives long but it's limited to Integer.MAX_VALUE
...
Reviewed-by: lancea, alanb
2024-06-05 15:55:20 +00:00
Nizar Benalla
e0bab78640
8326951: since-checker - missing @ since tags
...
Reviewed-by: jpai
2024-06-04 16:51:39 +00:00
Jaikiran Pai
d9e7b7e7da
8210471: GZIPInputStream constructor could leak an un-end()ed Inflater
...
Reviewed-by: lancea
2024-05-31 13:43:40 +00:00
Pavel Rappo
3cff588a31
8332826: Make hashCode methods in ArraysSupport friendlier
...
Reviewed-by: redestad, liach
2024-05-30 09:33:30 +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
Eirik Bjørsnøs
d0d4912c3b
8326096: Deprecate getTotalIn, getTotalOut methods of java.util.zip.Inflater, java.util.zip.Deflater
...
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: lancea, alanb
2024-03-08 09:38:30 +00:00
Lance Andersen
38ad514589
8326687: Inconsistent use of "ZIP", "Zip" and "zip" in java.util.zip/jar zipfs javadoc
...
Reviewed-by: dfuchs, jpai, gli
2024-02-28 17:14:08 +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
Eirik Bjørsnøs
bb6b04897b
8326099: GZIPOutputStream should use Deflater.getBytesRead() instead of Deflater.getTotalIn()
...
Reviewed-by: jpai
2024-02-26 14:15:24 +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
Jaikiran Pai
1fb9e3d674
8325304: Several classes in java.util.jar and java.util.zip don't specify the behaviour for null arguments
...
Reviewed-by: lancea, alanb
2024-02-08 06:35:47 +00:00
Joe Darcy
fbd15b2087
8325189: Enable this-escape javac warning in java.base
...
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +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
Justin Lu
15cf8f8531
8319626: Override toString() for ZipFile
...
Reviewed-by: jpai, alanb, coffeys
2024-01-04 17:16:22 +00:00
Lance Andersen
0eb299af79
8316141: Improve CEN header validation checking
...
Reviewed-by: alanb
2023-12-08 16:37:53 +00:00
Eirik Bjorsnos
99f870c43f
8320781: Fix whitespace in j.l.Double and j.u.z.ZipInputStream @snippets
...
Reviewed-by: lancea, bpb, darcy, jpai
2023-11-28 10:20:11 +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
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