package y0;

/* JADX INFO: renamed from: y0.b, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public abstract class AbstractC0745b {
    public static Class a(String str) {
        return b(str, true);
    }

    public static Class b(String str, boolean z2) {
        try {
            try {
                return Class.forName(str);
            } catch (Throwable unused) {
                return Class.forName(str, true, ClassLoader.getSystemClassLoader());
            }
        } catch (Throwable th) {
            if (z2) {
                System.err.println("Caught " + th);
            }
            return null;
        }
    }
}
