forked from JavaTX/JavaCompilerCore
14 lines
436 B
Java
14 lines
436 B
Java
|
package de.dhbwstuttgart.environment;
|
||
|
|
||
|
public class ByteArrayClassLoader extends ClassLoader implements IByteArrayClassLoader {
|
||
|
@Override
|
||
|
public Class _defineClass(String name, byte[] code, int i, int length) throws ClassFormatError {
|
||
|
return defineClass(name, code, i, length);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Class<?> findClass(String name) throws ClassNotFoundException {
|
||
|
return super.findClass(name);
|
||
|
}
|
||
|
}
|