@Test public void testIsIBMJdk() { System.setProperty("java.vendor", "Oracle Corporation"); assertFalse(Java.isIBMJdk()); System.setProperty("java.vendor", "IBM Corporation"); assertTrue(Java.isIBMJdk()); }
public static boolean isIBMJdk() { return System.getProperty("java.vendor").contains("IBM"); }
Java { public static boolean isIBMJdk() { return System.getProperty("java.vendor").contains("IBM"); } }
Java { public static boolean isIBMJdk() { return System.getProperty("java.vendor").contains("IBM"); } private  Java(); }
Java { public static boolean isIBMJdk() { return System.getProperty("java.vendor").contains("IBM"); } private  Java(); static boolean isIBMJdk(); }
Java { public static boolean isIBMJdk() { return System.getProperty("java.vendor").contains("IBM"); } private  Java(); static boolean isIBMJdk(); static final String JVM_SPEC_VERSION; static final boolean IS_JAVA9_COMPATIBLE; }