JDK-6415867 : ./extcheck -version gives a mis-leading output
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:class_loading
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2006-04-20
  • Updated: 2014-10-22
  • Resolved: 2014-10-22
Related Reports
Relates :  
Relates :  
Relates :  
Description
JDK-Info:
---------
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b80)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b80, mixed mode)


Operating System:
-----------------
Generic


Steps to Reproduce:
-------------------
1) Install jdk
2) Clean cache
3) Change directory to jdk1.6.0/bin
4) Launch ./extcheck -version

Jarfile -version does not exist

This is mis-leading. "-version" has been considered as a jar file input. But the word "Jarfile" has to be two separate words and the sentence re-framed as:
The jar file "-version" does not exist.

Comments
excheck is a legacy tool and has been removed from JDK 9. Close this bug as will not fix.
22-10-2014

EVALUATION A reasonable idea.
20-04-2006

SUGGESTED FIX Change the current error message to that suggested by the submitter. See src/share/classes/com/sun/tools/extcheck/Main.java Probably reasonable to display command's synopsis when there are user errors, as the jar command already does so.
20-04-2006