- 
    Type:
Enhancement
 - 
    Resolution: Unresolved
 - 
    Priority:
  P4                     
     - 
    None
 - 
    Affects Version/s: 8
 - 
    Component/s: other-libs
 
- 
        generic
 - 
        generic
 
                    A DESCRIPTION OF THE PROBLEM :
In method parseVersion of com.sun.corba.se.impl.orbutil.ORBUtility.parseVersion, It doesn't judge the parameter is in legal range or not before calling substring method.
And this kind of issue can be seen in https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8278186
ACTUAL -
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.String.substring(String.java:1963)
at com.sun.corba.se.impl.orbutil.ORBUtility.parseVersion(ORBUtility.java:508)
---------- BEGIN SOURCE ----------
@Test
public void test_parseVersion(){
String string0 = "";
com.sun.corba.se.impl.orbutil.ORBUtility.parseVersion(string0);
}
---------- END SOURCE ----------
FREQUENCY : occasionally
            
In method parseVersion of com.sun.corba.se.impl.orbutil.ORBUtility.parseVersion, It doesn't judge the parameter is in legal range or not before calling substring method.
And this kind of issue can be seen in https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8278186
ACTUAL -
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
at java.lang.String.substring(String.java:1963)
at com.sun.corba.se.impl.orbutil.ORBUtility.parseVersion(ORBUtility.java:508)
---------- BEGIN SOURCE ----------
@Test
public void test_parseVersion(){
String string0 = "";
com.sun.corba.se.impl.orbutil.ORBUtility.parseVersion(string0);
}
---------- END SOURCE ----------
FREQUENCY : occasionally