JavaTXCompilerInJavaTX/javatx-src/main/java/de/dhbwstuttgart/environment/ByteArrayClassLoader.java

14 lines
436 B
Java
Raw Normal View History

2024-02-02 12:06:37 +00:00
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);
}
}