Skip to content

Commit

Permalink
名字修改
Browse files Browse the repository at this point in the history
  • Loading branch information
z529192557 committed Jul 7, 2020
1 parent 6db3031 commit b4e467f
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public class JvmSandbox {
/**
* 需要提前加载的sandbox工具类
*/
private final static List<String> earlyLondSndboxClassNameList = new ArrayList<String>();
private final static List<String> earlyLoadSndboxClassNameList = new ArrayList<String>();

static {
earlyLondSndboxClassNameList.add("com.alibaba.jvm.sandbox.core.util.SandboxClassUtils");
earlyLondSndboxClassNameList.add("com.alibaba.jvm.sandbox.core.util.matcher.structure.ClassStructureImplByAsm");
earlyLoadSndboxClassNameList.add("com.alibaba.jvm.sandbox.core.util.SandboxClassUtils");
earlyLoadSndboxClassNameList.add("com.alibaba.jvm.sandbox.core.util.matcher.structure.ClassStructureImplByAsm");
}

private final CoreConfigure cfg;
Expand All @@ -45,15 +45,15 @@ public JvmSandbox(final CoreConfigure cfg,
}

private void init() {
doEarlyloadSandboxClass();
doEarlyLoadSandboxClass();
SpyUtils.init(cfg.getNamespace());
}

/**
* 提前加载某些必要的类
*/
private void doEarlyloadSandboxClass() {
for(String className : earlyLondSndboxClassNameList){
private void doEarlyLoadSandboxClass() {
for(String className : earlyLoadSndboxClassNameList){
try {
Class.forName(className);
} catch (ClassNotFoundException e) {
Expand Down

0 comments on commit b4e467f

Please sign in to comment.