> Please review this PR which updates the specification of 
> `ZipOutputStream.setComment(String)` to match the long-standing behavior of 
> throwing `IllegalArgumentException` when a comment contains characters which 
> are unmappable using the `Charset` passed in the constructor.
> 
> A new tests is added to reproduce calling setComment with unmappable 
> characters and verify that it throws IAE.
> 
> A CSR has been drafted. Its specification section will be updated after an 
> initial round of review of the specification text in this PR.

Eirik Bjørsnøs has updated the pull request incrementally with one additional 
commit since the last revision:

  Add note to @param comment specification that the comment may be set to null 
or the empty string to produce no ZIP file comment

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/30338/files
  - new: https://git.openjdk.org/jdk/pull/30338/files/c5df60bd..78d491f0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=30338&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30338&range=01-02

  Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/30338.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30338/head:pull/30338

PR: https://git.openjdk.org/jdk/pull/30338

Reply via email to