docs: private static URL uriToURL(final URI uri) {
          if (uri.getScheme().equals("jrt")) {
              // Currently URL cannot handle the "jrt:" scheme, used by system modules.
              throw new IllegalArgumentException("Could not create URL from URI with \"jrt:\" scheme: " + uri);
          }
          try {
              return uri.toURL();
          } catch (final MalformedURLException e) {
              throw new IllegalArgumentException("Could not create URL from URI: " + uri + " -- " + e);
          }
      }