All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.baltoro.ep.BytesClassLoader Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
package io.baltoro.ep;
final class BytesClassLoader extends ClassLoader
{
  public Class loadThisClass(String name, byte[] bytes)
  {
    resolveClass(defineClass(name,bytes, 0, bytes.length));
    Class clazz = null;
    try
	{
		clazz = loadClass(name);
	} 
    catch (ClassNotFoundException e)
	{
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
    
    return clazz;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy