Files
build_soong/android
Pete Gillin 0c2143e1ee Rename EXPERIMENTAL_USE_OPENJDK9 to EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9.
The current EXPERIMENTAL_USE_OPENJDK9 environment variable is a legacy
from when the 8 -> 9 toolchain upgrade was happening. That migration
is done and the variable only affects the language level, so it should
have a name that reflects that. (The current situation would be
especially confusing if we started a 9 -> 11 toolchain upgrade,
presumably controlled by a variable like EXPERIMENTAL_USE_OPENJDK11,
since the two settings look incompatible but are actually orthogonal.)

The current variable historically allowed a value or "1.8" which meant
"use the OpenJDK 9 toolchain but target language level 8". That value
no longer has any meaning and the new variable doesn't allow it.

Bug: 131678633
Test: `make` with `EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true`
Test: `javap -v $OUT_DIR/soong/.intermediates/libcore/core-oj/android_common/javac/classes/java/util/List.class | grep 'major version'` shows 53
Test: Audit all mentions of the old string here and downstream
Change-Id: Idad808c7f07913baba1a777627322d5452dabcef
2019-05-09 15:36:29 +01:00
..
2019-02-06 01:52:41 +00:00
2019-02-06 01:52:41 +00:00
2019-03-15 11:04:48 -06:00
2018-07-22 21:18:45 -07:00
2016-11-22 15:41:08 -08:00
2016-11-22 15:41:08 -08:00
2019-04-26 12:37:37 +01:00
2019-04-26 12:37:37 +01:00
2019-04-26 12:37:37 +01:00
2019-03-27 11:21:24 -07:00
2018-09-13 18:27:50 +00:00
2019-03-28 15:56:22 -07:00
2019-04-02 16:38:55 +00:00
2019-02-19 11:19:09 -08:00
2019-03-19 23:47:22 +00:00
2019-04-23 10:10:56 +09:00
2019-04-26 12:37:37 +01:00
2019-04-26 12:37:37 +01:00
2019-02-19 16:58:43 -08:00
2019-02-20 15:43:06 -08:00