@Test
public void testParseNew()
{

    assertEquals(JavaVersion.parse("9-ea+19"), new JavaVersion(9, 0));
    assertEquals(JavaVersion.parse("9+100"), new JavaVersion(9, 0));
    assertEquals(JavaVersion.parse("9.0.1+20"), new JavaVersion(9, 0));
    assertEquals(JavaVersion.parse("9.1.1+20"), new JavaVersion(9, 1));
}