docs: private static InputStream getResourceAsStream(String name, ClassLoader[] classLoaders)
    {
      // Java standard class loader require resource name to be an absolute path without leading path separator
      // at this point <name> argument is guaranteed to not start with leading path separator
  
      for(ClassLoader classLoader : classLoaders) {
        InputStream stream = classLoader.getResourceAsStream(name);
        if(stream == null) {
          // it seems there are class loaders that require leading path separator
          // not confirmed rumor but found in similar libraries
          stream = classLoader.getResourceAsStream('/' + name);
        }
        if(stream != null) {
          return stream;
        }
      }
      return null;
    }