From eb09fb7830108bdd68c0dc2a73c524a795ad5ff2 Mon Sep 17 00:00:00 2001 From: pengzhile Date: Wed, 1 Dec 2021 11:35:06 +0800 Subject: [PATCH] fix rtc Signed-off-by: pengzhile --- src/main/java/io/zhile/research/ja/netfilter/Initializer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/zhile/research/ja/netfilter/Initializer.java b/src/main/java/io/zhile/research/ja/netfilter/Initializer.java index 5532f14..ef05c04 100644 --- a/src/main/java/io/zhile/research/ja/netfilter/Initializer.java +++ b/src/main/java/io/zhile/research/ja/netfilter/Initializer.java @@ -27,6 +27,8 @@ public class Initializer { PluginManager.getInstance().loadPlugins(inst, currentDirectory); + inst.addTransformer(Dispatcher.getInstance(), true); + for (Class c : inst.getAllLoadedClasses()) { try { inst.retransformClasses(c); @@ -34,7 +36,5 @@ public class Initializer { // ok, ok. just ignore } } - - inst.addTransformer(Dispatcher.getInstance(), true); } }