boolean () { // java9 is not supported anymore and javac9 contains some problems that are already fixed in java10+ // It is expected that for JPMS-related features javac10 or better will be used final JavaSdkVersion sdkVersion = JavaSdkVersion.fromVersionString(SystemInfo.JAVA_VERSION); if (sdkVersion == null || !sdkVersion.isAtLeast(JavaSdkVersion.JDK_10)) { System.out.println("Test '" + getTestName(false) + "' skipped because it requires at least java 10 runtime"); return false; } return super.shouldRunTest(); }