mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 14:15:22 +00:00
perf(hotswap): 去除class重复获取
This commit is contained in:
1 parent
166d4a4115
commit
100e21f07d
1 file changed
-1
@@ -69,7 +69,6 @@ public abstract class HotSwapUtils {
|
||||
ByteArrayInputStream byteArrayInputStream = null;
|
||||
CtClass ctClass = null;
|
||||
try {
|
||||
clazz = Class.forName(readClassName(bytes));
|
||||
byteArrayInputStream = new ByteArrayInputStream(bytes);
|
||||
ctClass = ClassPool.getDefault().makeClass(byteArrayInputStream);
|
||||
// Javassist hot update
|
||||
|
||||
Reference in new issue
Block a user