what-the-bank/sources/o/C15222gki.java

37 lines
1.3 KiB
Java

package o;
import java.io.IOException;
import java.security.PrivilegedAction;
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.gki, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15222gki implements PrivilegedAction {
private final ClassLoader b;
private final String d;
/* JADX INFO: Access modifiers changed from: package-private */
public C15222gki(ClassLoader classLoader, String str) {
this.b = classLoader;
this.d = str;
}
@Override // java.security.PrivilegedAction
public final Object run() {
try {
ClassLoader classLoader = this.b;
if (classLoader != null) {
return classLoader.getResources(this.d);
}
return ClassLoader.getSystemResources(this.d);
} catch (IOException e) {
if (AbstractC15217gkd.e()) {
AbstractC15217gkd.e(new Object[]{new StringBuffer("Exception while trying to find configuration file ").append(this.d).append(":").append(e.getMessage()).toString()}, 2079166567, -2079166566, (int) System.currentTimeMillis());
}
return null;
} catch (NoSuchMethodError unused) {
return null;
}
}
}