Getting langtools into Maven Central

Jesse Glick jesse.glick at oracle.com
Tue Feb 7 18:12:41 PST 2012


On 02/03/2012 10:15 AM, Florian Weimer wrote:
>> [OpenJDK 6] may be missing some fixes made in 7, and
>> offers no _advantage_ over OpenJDK 7's javac that I know of, so it
>> would be simpler to just publish 7.x artifacts.
>
> it's an advantage if the compiler lacks bug fixes because it
> can compile older sources.

True, and this is why it would be desirable to build using a versioned compiler artifact - any change in the compilability of your sources could be traced to 
modifications in versioned source files (*.java or pom.xml), excepting of course the boot classpath which is another sticky issue JDK 8 should solve.

Still I do not think it is worth the effort of retroactively publishing an OpenJDK 6 artifact now; e.g. the particular case you mention should probably just be corrected 
in sources.




More information about the compiler-dev mailing list