On ecj and @Override annotations for interface methods

Andrew Haley aph at redhat.com
Wed Sep 17 02:02:23 PDT 2008


C. K. Jester-Young wrote:

> There is, in fact, a way to do this, at least for the version of ecj
> distributed with Ubuntu 8.04. It just requires supplying the "-1.6"
> command-line option in javac.in.

Seems reasonable.

> Otherwise, I'm happy to make the -1.6 option apply only to NIO2 builds,
> and have configure test for -1.6 support when --with-project=nio2.

Why not simply add a configure test for "-1.6" and if it succeeds use
"-1.6" everywhere?

Andrew.



More information about the distro-pkg-dev mailing list