Browse Source

feat: KERNEL-10354 bytebuddy / 加解密性能优化 @Harrison

添加单元测试
feature/x
Harrison 3 years ago
parent
commit
823bf0d328
  1. 4
      designer-base/src/main/java/com/fr/design/record/analyzer/DesignerAnalyzerActivator.java

4
designer-base/src/main/java/com/fr/design/record/analyzer/DesignerAnalyzerActivator.java

@ -48,9 +48,11 @@ public class DesignerAnalyzerActivator extends Activator implements Prepare {
// 兼容逻辑
List<AnalyzerConfiguration> backwardsConfigurations = findMutableBackwards(AnalyzerKey.KEY);
if (!CollectionUtils.isEmpty(backwardsConfigurations)) {
FineAnalyzer.init(basicFactory, backwardsConfigurations.toArray(new AnalyzerConfiguration[0]));
// 直接初始化,不添加默认值,防止和下面的冲突
FineAnalyzer.initDirectly(basicFactory, backwardsConfigurations.toArray(new AnalyzerConfiguration[0]));
}
// 等页面完全打开后,再进行 retransform, 别影响了启动速度
EventDispatcher.listen(DesignerLaunchStatus.STARTUP_COMPLETE, new Listener<Null>() {
@Override

Loading…
Cancel
Save