equal
deleted
inserted
replaced
33 import java.security.MessageDigest; |
33 import java.security.MessageDigest; |
34 import java.util.Arrays; |
34 import java.util.Arrays; |
35 import java.util.Collection; |
35 import java.util.Collection; |
36 import java.util.Iterator; |
36 import java.util.Iterator; |
37 import java.util.LinkedHashSet; |
37 import java.util.LinkedHashSet; |
38 import java.util.ServiceLoader; |
|
39 import java.util.Set; |
38 import java.util.Set; |
40 |
39 |
41 import javax.annotation.processing.Processor; |
40 import javax.annotation.processing.Processor; |
42 import javax.tools.JavaFileManager; |
41 import javax.tools.JavaFileManager; |
43 import javax.tools.JavaFileObject; |
42 import javax.tools.JavaFileObject; |
54 import com.sun.tools.javac.processing.AnnotationProcessingError; |
53 import com.sun.tools.javac.processing.AnnotationProcessingError; |
55 import com.sun.tools.javac.processing.JavacProcessingEnvironment; |
54 import com.sun.tools.javac.processing.JavacProcessingEnvironment; |
56 import com.sun.tools.javac.util.*; |
55 import com.sun.tools.javac.util.*; |
57 import com.sun.tools.javac.util.Log.PrefixKind; |
56 import com.sun.tools.javac.util.Log.PrefixKind; |
58 import com.sun.tools.javac.util.Log.WriterKind; |
57 import com.sun.tools.javac.util.Log.WriterKind; |
|
58 import com.sun.tools.javac.util.ServiceLoader; |
59 import static com.sun.tools.javac.main.Option.*; |
59 import static com.sun.tools.javac.main.Option.*; |
60 |
60 |
61 /** This class provides a command line interface to the javac compiler. |
61 /** This class provides a command line interface to the javac compiler. |
62 * |
62 * |
63 * <p><b>This is NOT part of any supported API. |
63 * <p><b>This is NOT part of any supported API. |
467 if (apiMode) |
467 if (apiMode) |
468 throw new RuntimeException(ex); |
468 throw new RuntimeException(ex); |
469 pluginMessage(ex); |
469 pluginMessage(ex); |
470 return Result.SYSERR; |
470 return Result.SYSERR; |
471 } |
471 } |
472 |
|
473 } |
472 } |
474 } |
473 } |
475 } |
474 } |
476 for (List<String> p: pluginsToCall) { |
475 for (List<String> p: pluginsToCall) { |
477 log.printLines(PrefixKind.JAVAC, "msg.plugin.not.found", p.head); |
476 log.printLines(PrefixKind.JAVAC, "msg.plugin.not.found", p.head); |