mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-18 00:24:20 +00:00
perf(hotswap): 去除class重复获取
This commit is contained in:
@@ -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