code: @GwtIncompatible // concurrency
    public static void joinUninterruptibly(Thread toJoin) {
      boolean interrupted = false;
      try {
        while (true) {
          try {
            toJoin.join();
            return;
          } catch (InterruptedException e) {
            interrupted = true;
          }
        }
      } finally {
        if (interrupted) {
          Thread.currentThread().interrupt();
        }
      }
    }
docs: Invokes {@code toJoin.}{@link Thread#join() join()} uninterruptibly.