change parent ClassLoader to fix problem in HQ dump-plugin-info
This commit is contained in:
parent
948b456433
commit
5edf8ab64a
|
@ -820,7 +820,7 @@ public class ProcessQueryBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
byte[] bytecode = this.generator.getJavaClass().getBytes();
|
byte[] bytecode = this.generator.getJavaClass().getBytes();
|
||||||
ClassLoader parent = ClassLoader.getSystemClassLoader();
|
ClassLoader parent = this.getClass().getClassLoader();
|
||||||
ClassLoader cl = new ProcessQueryClassLoader(parent, bytecode);
|
ClassLoader cl = new ProcessQueryClassLoader(parent, bytecode);
|
||||||
Class genclass;
|
Class genclass;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue