diff -r fd16c54261b3 -r 06bc494ca11e langtools/src/share/opensource/javac/doc/javac_lifecycle/Main.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/langtools/src/share/opensource/javac/doc/javac_lifecycle/Main.html Sat Dec 01 00:00:00 2007 +0000 @@ -0,0 +1,69 @@ + + + + +
+ + + +
+ The normal main entry point is
+ com.sun.tools.javac.main.Main,
+ with a public API entry point at
+ com.sun.tools.javac.Main which just calls down to com.sun.tools.javac.main.Main
.
+
The various parts of the compiler share common information by means of a + Context. + Every invocation of the compiler must have its own Context. + +
+ com.sun.tools.javac.main.Main
does command line processing to determine the list of files to be compiled, and any applicable options. There are four types of options:
+
-classpath
+ -Xlint
+ Main
invokes
+ JavaCompiler (more...)
+ After JavaCompiler
completes, the list of class symbols that was returned is discarded.
+
+
+ + Any and all exceptions are caught and handled, and a return code is + determined. Finally, the compiler exits. +
+ + +