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>
Fri, 26 Feb 2016 14:56:38 +0000 (14:56 +0000)
commitdb47d66b5ecf845995381f04b2024c71881640b4
tree7e3be98032441e4b269bf6e7a248d474a420921c
parent1284954db036e5c2fdf5576bd03f415b8a201078
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
(cherry picked from commit fda1ace26116a6677cc77c92c24e5259817fb86e)

Change-Id: I07769de473775d95b13feb38c0eb37086eb120f7
core/java_common.mk