aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java')
-rw-r--r--src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java b/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java
index a5bf648..0fe2285 100644
--- a/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java
+++ b/src/main/java/moe/nea/modernjava/launch/live/FCPFixTweaker.java
@@ -17,6 +17,8 @@ public class FCPFixTweaker implements ITweaker {
@Override
public void injectIntoClassLoader(LaunchClassLoader classLoader) {
+ classLoader.addClassLoaderExclusion("moe.nea.modernjava.");
+ classLoader.addClassLoaderExclusion("kotlin.");
classLoader.registerTransformer("moe.nea.modernjava.launch.transform.TransObjectHolderRef");
}