Map invokespecial on objects that are under java/io
This commit is contained in:
@@ -253,9 +253,6 @@ public class InvokeSpecial extends Instruction implements InvokeInstruction
|
|||||||
if (thisMethods.size() != otherMethods.size())
|
if (thisMethods.size() != otherMethods.size())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
assert thisMethods.size() == 1;
|
|
||||||
assert otherMethods.size() == 1;
|
|
||||||
|
|
||||||
for (int i = 0; i < thisMethods.size(); ++i)
|
for (int i = 0; i < thisMethods.size(); ++i)
|
||||||
{
|
{
|
||||||
net.runelite.asm.Method m1 = thisMethods.get(i);
|
net.runelite.asm.Method m1 = thisMethods.get(i);
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ public class MappingExecutorUtil
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (className.startsWith("java/lang/reflect/"))
|
if (className.startsWith("java/lang/reflect/") || className.startsWith("java/io/"))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (className.startsWith("java/") || className.startsWith("netscape/") || className.startsWith("javax/"))
|
if (className.startsWith("java/") || className.startsWith("netscape/") || className.startsWith("javax/"))
|
||||||
|
|||||||
Reference in New Issue
Block a user