RFR: JDK-8319626: Override toString() for ZipFile [v4]

Justin Lu jlu at openjdk.org
Tue Nov 28 23:27:17 UTC 2023


> Please review this PR and [CSR](https://bugs.openjdk.org/browse/JDK-8319982) which overrides and provides an implementation of `toString()` in _java.util.zip.ZipFile_ (and by extension, _java.util.jar.JarFile_).
> 
> This change is primarily to provide a more informative String representation of the two classes rather than the default hexadecimal representation of the hash code.

Justin Lu has updated the pull request incrementally with one additional commit since the last revision:

  shorten wording

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16643/files
  - new: https://git.openjdk.org/jdk/pull/16643/files/c0b269b4..8c182f07

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

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

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


More information about the core-libs-dev mailing list