code: @Override
      public InputStream openStream() {
          /*
           * https://jira.jboss.org/jira/browse/TMPARCH-19 If class is loaded by the Bootstrap ClassLoader, getClassLoader
           * will return null. Use Thread Current Context ClassLoader instead.
           */
          ClassLoader classLoader = clazz.getClassLoader();
          if (classLoader == null) {
              classLoader = ClassLoader.getSystemClassLoader();
          }
          return new ClassLoaderAsset(getResourceNameOfClass(clazz), classLoader).openStream();
      }
docs: Converts the Class name into a Resource URL and uses the ClassloaderResource for loading the Class.