Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-2221690

AIOB exception in the RemoveCommentReader

    Details

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                skoppar Sunita Koppar (Inactive)
                Reporter:
                skoppar Sunita Koppar (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: