@Override
  public @NotNull List<Proxy> select(@Nullable URI uri) {
    ProxySelector mainProxySelector = CommonProxyCompatibility.mainProxySelector;
    if (mainProxySelector == null) {
      LOG.warn("main proxy selector is not yet installed");
      return NO_PROXY_LIST;
    }
    isInstalledAssertion();
    if (uri == null) {
      return NO_PROXY_LIST;
    }
    return mainProxySelector.select(uri);
  }
@Override
  public @NotNull List<Proxy> select(@Nullable URI uri)