In building the OpenJDK where may we find the source code file(s) for the javac
output?
In libjli we find the java.c but locate javac.c returns no results. How
curious.
Would you be a friend and help us out. We love reading.
Thanks,
Max
/sr software developer
Hello Max,
Javac, like most of the command line tools in the JDK is written in
Java, so to look at the actual program, I would recommend starting here
(assuming current mainline at http://hg.openjdk.java.net/jdk/jdk):
src/jdk.compiler/share/classes/com/sun/tools/javac/Main.java
Most of the e
Hello.
I look and find that we start here:
http://hg.openjdk.java.net/jdk/jdk/file/b0fcf59be391/src/jdk.compiler/share/classes/com/sun/tools/javac/main/Main.java
public Result compile(String[] argv, Context context)
and this leads to:
http://hg.openjdk.java.net/jdk/jdk/file/b0fcf59be391/src/jd