RFR: 8318971: jar v17 should either exit on error immediately or create archive as jar v1.8 did [v3]

Ryan Wallace duke at openjdk.org
Wed Nov 8 16:06:15 UTC 2023


> Hi all,
> 
> Please review this fix for jar tool not producing archive if there is a missing file supplied. Fix is to throw an exception and exit processing when a missing file is supplied. Current behaviour will recognise missing file as an error but continue processing and not produce the archive. Updated ClassPath test to verify jar is not created.
> 
> Thanks,
> Ryan.

Ryan Wallace has updated the pull request incrementally with one additional commit since the last revision:

  8318971: jar v17 should either exit on error immediately or create archive as jar v1.8 did

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16423/files
  - new: https://git.openjdk.org/jdk/pull/16423/files/612f4c05..c7b18741

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

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

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


More information about the compiler-dev mailing list