platform_build_soong/ui/build
Tobias Thierer 18099fd856 Build with OpenJDK 9 -target 1.8 by default (attempt 4).
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 13f23a2753)

Change-Id: I57abae73f9bdb21ef004a5118ff0e4ef70418ed9
Merged-in: Iac78122f58df0ebbb55134d55021ce6c57351b5f
2018-01-04 11:07:38 +00:00
..
sandbox/darwin Add exec.Cmd wrapper for logging / sandboxing 2017-05-05 16:25:40 -07:00
Android.bp Revert "Revert "Test for dangling rules in make checkbuild"" 2017-11-25 05:26:10 +00:00
build.go Revert "Revert "Test for dangling rules in make checkbuild"" 2017-11-25 05:26:10 +00:00
cleanbuild.go Add --skip-make to replace Soong's blueprint wrapper with soong_ui 2017-08-08 22:49:28 -07:00
config.go Build with OpenJDK 9 -target 1.8 by default (attempt 4). 2018-01-04 11:07:38 +00:00
config_test.go Parse environment options from the command line 2017-07-11 15:23:51 -07:00
context.go Improve multiproduct_kati output 2017-05-15 15:24:10 -07:00
dumpvars.go Revert "Revert "Soong support for namespaces"" 2017-12-04 17:44:29 -08:00
environment.go Add a Go replacement for our top-level Make wrapper 2017-02-06 14:05:07 -08:00
environment_test.go Add a Go replacement for our top-level Make wrapper 2017-02-06 14:05:07 -08:00
exec.go Only check for ninja stuckness after it's been running for a bit 2017-06-13 14:15:02 -07:00
finder.go Move android/soong/fs to android/soong/finder/fs 2017-12-22 13:56:17 -08:00
kati.go Always record kati stats into soong log 2017-10-14 00:42:30 +00:00
ninja.go Add --skip-make to replace Soong's blueprint wrapper with soong_ui 2017-08-08 22:49:28 -07:00
proc_sync.go Revert "Revert "Disallow multiple build executions in parallel"" 2017-05-24 13:22:19 -07:00
proc_sync_test.go Revert "Revert "Disallow multiple build executions in parallel"" 2017-05-24 13:22:19 -07:00
sandbox_darwin.go Fix mac build 2017-11-08 12:50:38 -08:00
sandbox_linux.go Switch product configs from make to ckati 2017-10-12 18:11:08 -07:00
signal.go Improve signal handling in soong_ui 2017-02-22 10:44:19 -08:00
soong.go Pass results of Finder into Blueprint 2017-11-08 23:48:44 +00:00
test_build.go Revert "Revert "Test for dangling rules in make checkbuild"" 2017-11-25 05:26:10 +00:00
util.go Setup java paths in soong_ui 2017-11-08 00:44:47 -08:00
util_darwin.go Filter kati output to collapse verbose messages 2017-02-21 19:40:49 -08:00
util_linux.go Filter kati output to collapse verbose messages 2017-02-21 19:40:49 -08:00
util_test.go Filter kati output to collapse verbose messages 2017-02-21 19:40:49 -08:00