feat():测试

yuan
yuan 2024-08-31 23:41:10 +08:00
parent d7a5032a6e
commit 25f17a2e83
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ import java.util.Map;
public class OSSFileCompile{ public class OSSFileCompile{
public static Map<String, byte[]> compile(String fileName, String source,String extLib) throws IOException { public static Map<String, byte[]> compile(String fileName, String source,String extLib) throws IOException {
System.out.println("-------");
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
StandardJavaFileManager stdManager = compiler.getStandardFileManager(null, null, null); StandardJavaFileManager stdManager = compiler.getStandardFileManager(null, null, null);
try (MemoryJavaFileManager manager = new MemoryJavaFileManager(stdManager)) { try (MemoryJavaFileManager manager = new MemoryJavaFileManager(stdManager)) {