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)
|