United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6356642 extcheck.exe -verbose throws ArrayIndexOutOfBoundsException exception
JDK-6356642 : extcheck.exe -verbose throws ArrayIndexOutOfBoundsException exception

Details
Type:
Bug
Submit Date:
2005-11-29
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
tools
OS:
windows_xp
Sub-Component:
jar
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Relates:

Sub Tasks

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



Hardware and Software, Engineered to Work Together