javac - Where is the source code for the java compiler? -
I am looking for the source code of Sun's standard Java compiler, javac
.
jdk1.6.0_07 contains some classes that are related, but they are the interface ( java.lang.Compiler
and javax.tools.JavaCompiler
) . com.sun.mirror. *
and com.sun.source. * There are also some packages under
, which are the interface to represent the Java abstract syntax tree.
But I can not find the compiler source - nobody knows where it is?
View this site in the Source Mercurial repository.
(for JDK 1.7)
(for JDK 1.6)
In the header of the two sites that I was associated with you, download for the sources Find the link (in Bees 2, Zip and GJ format)
There you have src \ share \ classes \ com \ sun \ tools \ javac \
Comments
Post a Comment