未验证 提交 b3c7d729 编写于 作者: A Ax1an 提交者: GitHub

Fix only envoy related classes are generated after setting SW_OAL_ENGINE_DEBUG=Y (#5021)

上级 39f2cd3a
......@@ -99,6 +99,7 @@ public class OALRuntime implements OALEngine {
"data2Map",
"map2Data"
};
private static boolean IS_RT_TEMP_FOLDER_INIT_COMPLETED = false;
private final OALDefine oalDefine;
private final ClassPool classPool;
......@@ -135,7 +136,10 @@ public class OALRuntime implements OALEngine {
@Override
public void start(ClassLoader currentClassLoader) throws ModuleStartException, OALCompileException {
prepareRTTempFolder();
if (!IS_RT_TEMP_FOLDER_INIT_COMPLETED) {
prepareRTTempFolder();
IS_RT_TEMP_FOLDER_INIT_COMPLETED = true;
}
this.currentClassLoader = currentClassLoader;
Reader read;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册