mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 04:32:15 +00:00
Merge pull request #650 from luacs1998/1.7.10
Add classloader exclusion for ASM
This commit is contained in:
commit
fd8c2ba08c
2 files changed
+2
No files matched your search
@@ -16,6 +16,7 @@ public class FMLServerTweaker extends FMLTweaker {
|
||||
// The mojang packages are excluded so the log4j2 queue is correctly visible from
|
||||
// the obfuscated and deobfuscated parts of the code. Without, the UI won't show anything
|
||||
classLoader.addClassLoaderExclusion("com.mojang.");
|
||||
classLoader.addClassLoaderExclusion("org.objectweb.asm.");
|
||||
classLoader.addTransformerExclusion("cpw.mods.fml.repackage.");
|
||||
classLoader.addTransformerExclusion("cpw.mods.fml.relauncher.");
|
||||
classLoader.addTransformerExclusion("cpw.mods.fml.common.asm.transformers.");
|
||||
|
||||
@@ -119,6 +119,7 @@ public class FMLTweaker implements ITweaker {
|
||||
{
|
||||
classLoader.addClassLoaderExclusion("org.apache.");
|
||||
classLoader.addClassLoaderExclusion("com.google.common.");
|
||||
classLoader.addClassLoaderExclusion("org.objectweb.asm.");
|
||||
classLoader.addTransformerExclusion("cpw.mods.fml.repackage.");
|
||||
classLoader.addTransformerExclusion("cpw.mods.fml.relauncher.");
|
||||
classLoader.addTransformerExclusion("cpw.mods.fml.common.asm.transformers.");
|
||||
|
||||
Reference in new issue
Block a user