@Test public void testLoadKerberosLoginModule() throws ClassNotFoundException { String clazz = Java.isIBMJdk() ? "com.ibm.security.auth.module.Krb5LoginModule" : "com.sun.security.auth.module.Krb5LoginModule"; Class.forName(clazz); }
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; }