* shutdown AWT related threads, since the contract for their termination is
* still implementation-dependent.
*/
final LegacyCompilerOptions options = new GWTCompilerOptionsImpl();
if (new ArgProcessor(options).processArgs(args)) {
CompileTask task = new CompileTask() {
public boolean run(TreeLogger logger) throws UnableToCompleteException {
FutureTask<UpdateResult> updater = null;
if (!options.isUpdateCheckDisabled()) {
updater = PlatformSpecific.checkForUpdatesInBackgroundThread(logger,
CheckForUpdates.ONE_DAY);