Getting langtools into Maven Central

Florian Weimer fweimer at bfk.de
Fri Feb 3 07:15:19 PST 2012


* Jesse Glick:

> On 12/29/2011 12:07 PM, Joe Darcy wrote:
>> javac in OpenJDK 6 has had a proper superset of the fixes in Oracle JDK 6 since OpenJDK 6 includes a large
>> batch of fixes inherited from its JDK 7 lineage.
>
> I stand corrected. Still, it 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.

Sometimes, it's an advantage if the compiler lacks bug fixes because it
can compile older sources.  Access to a private field of an object of
parametric type (with the proper erasure) is something which I recently
encountered.  It used to compile javac 6 (at least the version in Debian
squeeze), but javac 7 rejects it (rightly).

-- 
Florian Weimer                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



More information about the compiler-dev mailing list