JDK-6356642 : extcheck.exe -verbose throws ArrayIndexOutOfBoundsException exception
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: tools
  • Sub-Component: jar
  • Priority: P3
  • Affected Version: 6
  • OS: windows_xp
  • CPU: x86
  • Submit Date: 2005-11-29
  • Updated Date: 2011-05-18
  • Resolved Date: 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 Availabitlity Release.

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

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

Comments
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.
2005-12-05

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