code: private Class<?> resolveClassWithCL(String name) throws ClassNotFoundException {
          SecurityManager security = System.getSecurityManager();
          if (security != null) {
              return Class.forName(name, false, getClassLoader(thisClass));
          }
  
          // The platform classloader is null if we failed to get it when using java 9, or if we are
          // running with a java level below 9. In those cases, the bootstrap classloader
          // is used to resolve the needed class.
          // Note that this change is being made to account for the fact that in java 9, classes
          // such as java.sql.* (java.sql module) are no longer discoverable through the bootstrap
          // classloader. Those classes are now discoverable through the java 9 platform classloader.
          // The platform classloader is between the bootstrap classloader and the app classloader.
          return Class.forName(name, false, platformClassloader);
      }
docs: Resolves a class using the appropriate classloader.
  
  @param name The name of the class to resolve.
  @return The resolved class.
  
  @throws ClassNotFoundException