mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-06 08:39:33 +00:00
@@ -193,16 +193,16 @@ public class ClassPath {
|
|||||||
* @param inputstream
|
* @param inputstream
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
protected void loadClass(InputStream in) throws IOException {
|
protected void loadClass(InputStream in) throws IOException {
|
||||||
ClassReader cr = new ClassReader(in);
|
ClassReader cr = new ClassReader(in);
|
||||||
ClassNode cn = new ClassNode();
|
ClassNode cn = new ClassNode();
|
||||||
cr.accept(cn, 0);
|
RemappingClassAdapter rca = new RemappingClassAdapter(cn,classRemapper);
|
||||||
/*RemappingClassAdapter rca = new RemappingClassAdapter(cn,classRemapper);
|
cr.accept(rca, ClassReader.EXPAND_FRAMES);
|
||||||
ClassNode remapped = new ClassNode();
|
classNames.add(cn.name.replace('/', '.'));
|
||||||
cn.accept(rca);*/
|
classes.put(cn.name, cn);
|
||||||
classNames.add(cn.name.replace('/', '.'));
|
}
|
||||||
classes.put(cn.name, cn);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determines if this classpath represents a jar file
|
* Determines if this classpath represents a jar file
|
||||||
@@ -301,4 +301,4 @@ public class ClassPath {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user