Add specialsource to System.exit() whitelist
This commit is contained in:
parent
2b91f4ebb2
commit
6acfab7a33
@ -0,0 +1,12 @@
|
|||||||
|
--- ../src-base/minecraft/cpw/mods/fml/common/asm/transformers/TerminalTransformer.java
|
||||||
|
+++ ../src-work/minecraft/cpw/mods/fml/common/asm/transformers/TerminalTransformer.java
|
||||||
|
@@ -46,7 +46,8 @@
|
||||||
|
clsName.equals("net/minecraft/server/dedicated/DedicatedServer") ||
|
||||||
|
clsName.equals("cpw/mods/fml/common/FMLCommonHandler") ||
|
||||||
|
clsName.startsWith("com/jcraft/jogg/") ||
|
||||||
|
- clsName.startsWith("scala/sys/")
|
||||||
|
+ clsName.startsWith("scala/sys/") ||
|
||||||
|
+ clsName.startsWith("net/md_5/specialsource")
|
||||||
|
);
|
||||||
|
|
||||||
|
return new MethodVisitor(Opcodes.ASM5, super.visitMethod(mAccess, mName, mDesc, mSignature, mExceptions))
|
Loading…
Reference in New Issue
Block a user