docs: public static URL getNewURL(final String string) throws MalformedURLException {
          try {
              return AccessController.doPrivileged(new PrivilegedExceptionAction<URL>() {
  
                  @Override
                  public URL run() throws MalformedURLException {
                      return new URL(string);
                  }
              });
          } catch (PrivilegedActionException e) {
              throw (MalformedURLException) e.getCause();
          }
      }