Level.WARNING,
"platform not support Java compiler, use JDK");
return false;
}
StandardJavaFileManager fileman = compiler.getStandardFileManager(null, null, null);
MemoryJavaFileManager fileman2 = new MemoryJavaFileManager(fileman);
fileman2.setClassDataMap(mem);
Iterable<? extends JavaFileObject> compilUnit = javaSources;
Writer writer = new OutputStreamWriter(System.err);
JavaCompiler.CompilationTask ctask = compiler.getTask(writer, fileman2, null, null, null, compilUnit);
Boolean res = ctask.call();