JavaTXCompilerInJavaTXNoMaven/javatx-src/main/java/de/dhbwstuttgart/environment/ByteArrayClassLoader.java
2024-05-02 23:04:07 +02:00

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);
}
}