srcFileList.add(sourceFile);
}
allSrcFiles = srcFileList.toArray(new String[]{});
}
CompileResultInfo resultInfo =compiler.generateClass(allSrcFiles);
List<String> problemList = resultInfo.getProblemInfoList();
StringBuilder sb = new StringBuilder();
for (String srcFile : allSrcFiles) {
sb.append(srcFile).append("\n");
}
sb.append("$$$$$");
if (!resultInfo.isError()) {
try {
hotSwapClass(resultInfo);
} catch (Throwable e) {
log.info("hotswap class file failed.");
}