1 package org.ozoneDB.tools.OPP.compiler; 9 10 import com.sun.tools.javac.Main; 11 12 import java.util.Collection ; 13 14 public class InternalJavaCompiler extends AbstractJavaCompiler { 15 public synchronized void compile(Collection classes) throws CompilerException { 16 String arguments[] = getArguments(classes); 17 if (Main.compile(arguments) != 0) { 18 throw new CompilerException("Unable to compile class(es)!", arguments); 19 } 20 } 21 } 22 | Popular Tags |