-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P4
-
None
-
Affects Version/s: 8u301
-
Component/s: tools
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
The test case failed with unexpected ArrayIndexOutOfBoundsException.
We think you should judge the length of args before calling args[0].
ACTUAL -
java.lang.ArrayIndexOutOfBoundsException: 0
at com.sun.xml.internal.rngom.digested.DXMLPrinter.main(DXMLPrinter.java:555)
---------- BEGIN SOURCE ----------
@Test
public void test_main_a1_1() throws Exception{
String[] stringArray0 = {};
com.sun.xml.internal.rngom.digested.DXMLPrinter.main(stringArray0);
}
---------- END SOURCE ----------
The test case failed with unexpected ArrayIndexOutOfBoundsException.
We think you should judge the length of args before calling args[0].
ACTUAL -
java.lang.ArrayIndexOutOfBoundsException: 0
at com.sun.xml.internal.rngom.digested.DXMLPrinter.main(DXMLPrinter.java:555)
---------- BEGIN SOURCE ----------
@Test
public void test_main_a1_1() throws Exception{
String[] stringArray0 = {};
com.sun.xml.internal.rngom.digested.DXMLPrinter.main(stringArray0);
}
---------- END SOURCE ----------