feat():测试
parent
d7a5032a6e
commit
25f17a2e83
|
@ -17,6 +17,7 @@ import java.util.Map;
|
|||
public class OSSFileCompile{
|
||||
|
||||
public static Map<String, byte[]> compile(String fileName, String source,String extLib) throws IOException {
|
||||
System.out.println("-------");
|
||||
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
|
||||
StandardJavaFileManager stdManager = compiler.getStandardFileManager(null, null, null);
|
||||
try (MemoryJavaFileManager manager = new MemoryJavaFileManager(stdManager)) {
|
||||
|
|
Loading…
Reference in New Issue