Gábor Boskovits <boskovits@gmail.com> writes:
> Currently I cannot compile java-aqute-bndlib,
> because java-classpathx-servletapi-3.0 does not work with java8.
> This is a known incompatibility between java7 and java8 definition of Map,
> affecting multiple projects.
> I will focus on fixing that for now, and file a bug upstream.
If a package does not build with Java 8 this does not mean that we
cannot use the latest JDK to build it. For those packages we might have
to patch the build.xml to ensure that the JDK considers the source to be
of a different version.
javac supports the “-target” and “-source” options. This might be
helpful in situations like this.