Learning the javac compiler

Rémi Forax forax at univ-mlv.fr
Thu Oct 18 05:45:11 PDT 2007


Eran Yarkon a écrit :
> Hi,
>  
> I need to apply several changes to javac and would like to learn the 
> compiler beforehand. What is the best way to do it?
> Is there any kind of tutorial or user manual or should I read the 
> documentation (where is it located?)
>  
> Thanks,
> Keren.

There are not much info, some are gather in this page:
http://openjdk.java.net/groups/compiler/

There are small tutorials:
http://www.ahristov.com/tutorial/java-compiler.html

But it's not sufficient, so you have to checkout the source :(
the SVN repository is located here:
https://openjdk.dev.java.net/svn/openjdk/jdk/trunk/langtools

If the changes you have planed to introduce can interrest other people,
you provide it as a branch of the kitchen sink language (after code review).
https://ksl.dev.java.net/

cheers,
Rémi

PS: ping jonathan, please, update the ksl source tree to use langtools 
workspace.




More information about the compiler-dev mailing list