This commit is contained in:
BenLewis committed 2015-10-20 10:54:52 +13:00
1 parent a8558bb5f0
commit 7b0a8f5d05
1 file changed
+3
@@ -39,6 +39,9 @@ class MixinClassLoader extends ClassLoader {
void addMixinClass(String name, byte[] bytes){
logger.debug("add class "+name+" to class loader");
try {
Class<?> clazz = this.defineClass(name, bytes, 0, bytes.length);
bytecodes.put(clazz, bytes);
}catch(Throwable e){
logger.catching(e);
}
}