void () { doTest("java.lang.IllegalArgumentException", "Find why 'cls' could be != String (not-null)", "class X {static void test(Class<?> cls) {if (!cls.equals(String.class)) throw new IllegalArgumentException();}}"); }