United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-2221690 AIOB exception in the RemoveCommentReader
JDK-2221690 : AIOB exception in the RemoveCommentReader

Details
Type:
Backport
Submit Date:
2012-02-28
Status:
Closed
Updated Date:
2012-03-14
Project Name:
JDK
Resolved Date:
2012-03-14
Component:
deploy
OS:
Sub-Component:
deployment_toolkit
CPU:
Priority:
P2
Resolution:
Fixed
Affected Versions:
Fixed Versions:
6u31-rev (b23)

Related Reports
Backport:

Sub Tasks

Description
Backporting the fix from JDK7. The testcase has been converted to standalone and attached to this CR. Here is the test output with and without the changes:

D:\Sunita\Escalations\UI\7063183>"C:\Program Files (x86)\Java\jdk1.6.0_31\bin\ja
va.exe" -cp .;"C:\Program Files (x86)\Java\jdk1.6.0_31\jre\lib\deploy.jar" Remov
eCommentReaderTest

D:\Sunita\Escalations\UI\7063183>"C:\Program Files (x86)\Java\jdk1.6.0_31\bin\ja
va.exe" -cp .;"C:\Program Files (x86)\Java\jdk1.6.0_29\jre\lib\deploy.jar" Remov
eCommentReaderTest
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 20
        at com.sun.deploy.net.proxy.RemoveCommentReader.read(RemoveCommentReader
.java:90)
        at RemoveCommentReaderTest.doTest(RemoveCommentReaderTest.java:22)
        at RemoveCommentReaderTest.testRead(RemoveCommentReaderTest.java:36)
        at RemoveCommentReaderTest.main(RemoveCommentReaderTest.java:69)

                                    

Comments
EVALUATION

Backporting the fix from JDK7. The testcase has been converted to standalone and attached to this CR. Here is the test output with and without the changes:

D:\Sunita\Escalations\UI\7063183>"C:\Program Files (x86)\Java\jdk1.6.0_31\bin\ja
va.exe" -cp .;"C:\Program Files (x86)\Java\jdk1.6.0_31\jre\lib\deploy.jar" Remov
eCommentReaderTest

D:\Sunita\Escalations\UI\7063183>"C:\Program Files (x86)\Java\jdk1.6.0_31\bin\ja
va.exe" -cp .;"C:\Program Files (x86)\Java\jdk1.6.0_29\jre\lib\deploy.jar" Remov
eCommentReaderTest
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 20
        at com.sun.deploy.net.proxy.RemoveCommentReader.read(RemoveCommentReader
.java:90)
        at RemoveCommentReaderTest.doTest(RemoveCommentReaderTest.java:22)
        at RemoveCommentReaderTest.testRead(RemoveCommentReaderTest.java:36)
        at RemoveCommentReaderTest.main(RemoveCommentReaderTest.java:69)
                                     
2012-02-28



Hardware and Software, Engineered to Work Together