code: public static byte[] loadSlashedClassAsBytes(ClassLoader loader, String slashedclassname) {
  		if (GlobalConfiguration.assertsMode) {
  			if (slashedclassname.endsWith(".class")) {
  				throw new IllegalStateException(".class suffixed name should not be passed:" + slashedclassname);
  			}
  			if (slashedclassname.indexOf('.') != -1) {
  				throw new IllegalStateException("Should be a slashed name, no dots:" + slashedclassname);
  			}
  		}
  		InputStream is = loader.getResourceAsStream(slashedclassname + ".class");
  		if (is == null) {
  			throw new UnableToLoadClassException(slashedclassname);
  		}
  		return Utils.loadBytesFromStream(is);
  	}
docs: Access the specified class as a resource accessible through the specified loader and return the bytes. The
  classname should be 'dot' separated (eg. com.foo.Bar) and not suffixed .class
  
  @param loader the classloader against which getResourceAsStream() will be invoked
  @param slashedclassname the dot separated classname without .class suffix
  @return the byte data defining that class