OSDN Git Service

Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8
authorNeil Fuller <nfuller@google.com>
Tue, 16 Feb 2016 13:04:51 +0000 (13:04 +0000)
committerNeil Fuller <nfuller@google.com>
Tue, 16 Feb 2016 13:04:51 +0000 (13:04 +0000)
commitdfcd9124880528a7bfbf9ba361b1a2040035ca06
tree6b63c7068d461b992599881dead44174f73683d0
parent980bd4c1ba6bab002a3a9748eb2cd873aeb00db0
Change the default for LOCAL_JAVA_LANGUAGE_VERSION from 1.7 to 1.8

Modify the compiler flags for Jack and javac.

This has the following effects:
1) Generally, some of the type inference rules changed.
2) javac: bytecode is generated with the v52 major version (not v51)
3) jack: Java 8 language features are supported.

The javac / dx toolchain does not support Java 8 language features.

Bug: 26753820
Change-Id: Icf619f601def30600a42a70815fc8cc754eafa8a
core/java_common.mk