Rename unique test
This commit is contained in:
@@ -150,7 +150,8 @@ public class InvokeStatic extends Instruction implements InvokeInstruction
|
||||
return null; // not our class
|
||||
|
||||
net.runelite.asm.Method other = otherClass.findMethodDeepStatic(method.getNameAndType());
|
||||
assert other != null;
|
||||
if (other == null)
|
||||
return null; // when regenerating the pool after renaming the method this can be null.
|
||||
|
||||
return other;
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ class NonloadingClassWriter extends ClassWriter
|
||||
if (c == c2)
|
||||
return c.getName();
|
||||
|
||||
throw new RuntimeException("No common base");
|
||||
return "java/lang/Object";
|
||||
}
|
||||
|
||||
ClassFile found;
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
package net.runelite.deob.deobfuscators;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import net.runelite.asm.ClassFile;
|
||||
import net.runelite.asm.ClassGroup;
|
||||
|
||||
@@ -16,7 +16,6 @@ import java.util.jar.Manifest;
|
||||
import net.runelite.asm.ClassFile;
|
||||
import net.runelite.asm.ClassGroup;
|
||||
import net.runelite.asm.objectwebasm.AsmUtils;
|
||||
import org.objectweb.asm.ClassReader;
|
||||
|
||||
public class JarUtil
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user