Initial commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.google.android.gms.internal.measurement;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.security.PrivilegedExceptionAction;
|
||||
import sun.misc.Unsafe;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
final class zzxk implements PrivilegedExceptionAction<Unsafe> {
|
||||
zzxk() {
|
||||
}
|
||||
|
||||
@Override // java.security.PrivilegedExceptionAction
|
||||
public final /* synthetic */ Unsafe run() throws Exception {
|
||||
for (Field field : Unsafe.class.getDeclaredFields()) {
|
||||
field.setAccessible(true);
|
||||
Object obj = field.get(null);
|
||||
if (Unsafe.class.isInstance(obj)) {
|
||||
return (Unsafe) Unsafe.class.cast(obj);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user