Jdk6JavaCompiler used when compiling JDK 1.7

(Etienne Studer) #1


I get the following info log message even when compiling with JDK7:

INFO] [org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler] Compiling with JDK 6 Java compiler API.

I find that quite confusing and it took me a while to be sure it is actually compiling with JDK7.

Regards, Etienne

(Peter Niederwieser) #2

Thanks for the input. It says “JDK 6 compiler API” because the compiler API was introduced in JDK6, but I can see how it can be confusing. The class name should only be visible when running with ‘–debug’.

(Etienne Studer) #3

Thanks for the clarification.