public static boolean isRunningWithPostJava8() {
        String javaVersion = getCurrentRuntimeJavaVersion();
        return !javaVersion.startsWith("1.");
    }
@Test
    public void verifyPostJava8() {
        assumeFalse("Test is for Java 9+ only", System.getProperty("java.version").startsWith("1."));
        assertTrue("isRunningWithPostJava8() should return true on Java 9 and above", JavaUtils.isRunningWithPostJava8());
    }