JDK-6356642 : extcheck.exe -verbose throws ArrayIndexOutOfBoundsException exception
  • Type: Bug
  • Component: tools
  • Sub-Component: jar
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-11-29
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7 b36Fixed
Related Reports
Relates :  
Invoking "extcheck.exe -verbose" gives:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
         at com.sun.tools.extcheck.Main.main(Main.java:37)

SUGGESTED FIX src/share/classes/com/sun/tools/extcheck/Main.java needs to be more careful in its argument processing. Specifically, if -verbose is given, it needs to check if there are further arguments.

EVALUATION src/share/classes/com/sun/tools/extcheck/Main.java assumes that it is given enough arguments.