mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Merge pull request #649 from luacs1998/master
Add classloader exclusion for ASM
This commit is contained in:
commit
1aacf9cfe2
2 files changed
+2
No files matched your search
@@ -16,6 +16,7 @@ public class FMLServerTweaker extends FMLTweaker {
|
||||
// The log4j2 queue is excluded so it is correctly visible from the obfuscated
|
||||
// and deobfuscated parts of the code. Without, the UI won't show anything
|
||||
classLoader.addClassLoaderExclusion("com.mojang.util.QueueLogAppender");
|
||||
classLoader.addClassLoaderExclusion("org.objectweb.asm.");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.repackage.");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.relauncher.");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.common.asm.transformers.");
|
||||
|
||||
@@ -118,6 +118,7 @@ public class FMLTweaker implements ITweaker {
|
||||
{
|
||||
classLoader.addClassLoaderExclusion("org.apache.");
|
||||
classLoader.addClassLoaderExclusion("com.google.common.");
|
||||
classLoader.addClassLoaderExclusion("org.objectweb.asm.");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.repackage.");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.relauncher.");
|
||||
classLoader.addTransformerExclusion("net.minecraftforge.fml.common.asm.transformers.");
|
||||
|
||||
Reference in new issue
Block a user