mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-24 22:14:32 +00:00
Add classloader exclusion for ASM
This commit is contained in:
1 parent
626a192ce6
commit
aad4678d40
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