package com.google.common.util.concurrent; import java.util.concurrent.Future; /* loaded from: classes3.dex */ public abstract class Uninterruptibles { public static Object getUninterruptibly(Future future) { Object obj; boolean z = false; while (true) { try { obj = future.get(); break; } catch (InterruptedException unused) { z = true; } catch (Throwable th) { if (z) { Thread.currentThread().interrupt(); } throw th; } } if (z) { Thread.currentThread().interrupt(); } return obj; } }