docs: @Beta
    @GwtIncompatible // concurrency
    public static ThreadFactory platformThreadFactory() {
      if (!isAppEngine()) {
        return Executors.defaultThreadFactory();
      }
      try {
        return (ThreadFactory)
            Class.forName("com.google_voltpatches.appengine.api.ThreadManager")
                .getMethod("currentRequestThreadFactory")
                .invoke(null);
      } catch (IllegalAccessException e) {
        throw new RuntimeException("Couldn't invoke ThreadManager.currentRequestThreadFactory", e);
      } catch (ClassNotFoundException e) {
        throw new RuntimeException("Couldn't invoke ThreadManager.currentRequestThreadFactory", e);
      } catch (NoSuchMethodException e) {
        throw new RuntimeException("Couldn't invoke ThreadManager.currentRequestThreadFactory", e);
      } catch (InvocationTargetException e) {
        throw Throwables.propagate(e.getCause());
      }
    }