public ClassLoader createClassLoaderFromContent(final String className, final String content)
      throws IOException {
    byte[] classDefinition = compileClass(className, content);
    SingleClassClassLoader classLoader = new SingleClassClassLoader();
    classLoader.addClass(className, classDefinition);
    return classLoader;
  }
Creates a ClassLoader that contains an empty class with the given name using the given content.
The className may have a package separated by /. For example: my/package/myclass

@param className Name of the class to create
@param content Content of the created class
@return The class loader
@throws IOException If there's a problem creating the output stream used to generate the class
geode-junit/src/main/java/org/apache/geode/test/compiler/ClassBuilder.java