18099fd856
This is cherry-picked from attempt 3, which was reverted
due to http://b/70862583.
Before this CL topic, the build toolchain for .java source files
used OpenJDK 8, targeting 1.8 (v52 class files) by default.
This CL topic switches the default to OpenJDK 9, but still
targeting 1.8 (v52 class files) by default. If USE_ERROR_PRONE
is set to true, then the default remains OpenJDK 8.
Code in the Android platform should generally be unaffected,
but if host tools that are now compiled and run using
OpenJDK 9 are causing problems for your team, then let me
know.
To manually switch back to the old behavior for now (continue
using OpenJDK 8), run this command in your shell:
export EXPERIMENTAL_USE_OPENJDK9=false
Bug: 69449021
Test: Treehugger
Test: art/test/testrunner/run_build_test_target.py -j40 art-interpreter
Test: dalvik/dx/tests/run-all-tests
(cherry picked from commit
|
||
---|---|---|
.. | ||
sandbox/darwin | ||
Android.bp | ||
build.go | ||
cleanbuild.go | ||
config.go | ||
config_test.go | ||
context.go | ||
dumpvars.go | ||
environment.go | ||
environment_test.go | ||
exec.go | ||
finder.go | ||
kati.go | ||
ninja.go | ||
proc_sync.go | ||
proc_sync_test.go | ||
sandbox_darwin.go | ||
sandbox_linux.go | ||
signal.go | ||
soong.go | ||
test_build.go | ||
util.go | ||
util_darwin.go | ||
util_linux.go | ||
util_test.go |