Self-describing sources: the JavaC patch

Jaroslav Tulach jaroslav.tulach at oracle.com
Tue Jun 26 02:14:37 PDT 2012


Hello guys.
We had a discussion with Paul recently trying to find a way to have a form of 
self-describing sources and not to compromise ''module-info.java'' purity.

Here is a proposal 
http://wiki.netbeans.org/JavacOptionsInSourceFiles
that modifies JavaC a bit and seems to fulfil many of the needs IDEs have[1].

What can stop us from changing JavaC to perform

$ javac @source-info.cfg

by default? Using this format for OpenJDK sources itself? Changing other CLI 
tools jar, jmod to extract information from the same configuration file?
-jt



[1] http://wiki.netbeans.org/Jigsaw





More information about the jigsaw-dev mailing list