JDK-6227845 : jar(1) command must have an option to validate a JAR-file
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-02-10
  • Updated: 2010-04-02
  • Resolved: 2006-11-17
Related Reports
Duplicate :  
Description
The jar(1) command should have an option to validate and verify a JAR for
its robustness and correctness of the archive. For example unzip -t
on some Unix flavors offers this, once again unzip does not do a thorough
job. We should provide a more thorough validator.
###@###.### 2005-2-10 18:51:36 GMT

Comments
EVALUATION Agreed. There should be an API equivalent (something like ZipFile.verify) and a command-line access using jar. Unfortunately, the obvious mnemonic letters "v" (verify, validate) "c" (check) "i" (integrity) "t" (test) are taken.
03-08-2005