File tree 1 file changed +3
-2
lines changed
xalan/src/main/java/org/apache/xalan/xsltc/compiler
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -860,7 +860,7 @@ public void dumpClass(JavaClass clazz) {
860
860
// check that the, class to be serialized to filesystem, is of the valid format.
861
861
// check with the native JVM class loader
862
862
byte [] classByteArray = clazz .getBytes ();
863
- ByteArrayClassLoader classLoader = new ByteArrayClassLoader (classByteArray );
863
+ ByteArrayClassLoader classLoader = new ByteArrayClassLoader (classByteArray , ObjectFactory . findClassLoader () );
864
864
Class clz = classLoader .findClass (clazz .getClassName ());
865
865
866
866
clazz .dump (new BufferedOutputStream (
@@ -881,7 +881,8 @@ public class ByteArrayClassLoader extends ClassLoader {
881
881
882
882
byte [] ba ;
883
883
884
- public ByteArrayClassLoader (byte [] bArray ) {
884
+ public ByteArrayClassLoader (byte [] bArray , ClassLoader parent ) {
885
+ super (parent );
885
886
ba = bArray ;
886
887
}
887
888
You can’t perform that action at this time.
0 commit comments