Files
build/core
Pete Gillin 273b25f9fd 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
Change-Id: Ic1f76a656bea30713b356a28e82f908a46933893
Test: Audit all mentions of the old string here and downstream
2019-05-09 15:30:39 +01:00
..
2018-03-20 15:47:45 -07:00
2019-02-04 20:52:14 -08:00
2019-04-04 16:21:53 -07:00
2018-06-21 10:12:23 -07:00
2019-04-17 16:50:30 -07:00
2018-10-20 16:59:41 -07:00
2019-01-11 17:07:58 +09:00
2019-01-14 12:56:07 -08:00
2019-04-17 16:50:30 -07:00
2019-04-17 16:50:30 -07:00
2018-08-29 17:33:29 +00:00
2018-08-08 18:59:44 +08:00
2019-04-17 16:50:30 -07:00
2018-11-05 10:57:24 -08:00
2019-03-20 11:03:59 +00:00
2019-04-17 16:50:30 -07:00
2019-04-17 16:50:30 -07:00