diff --git a/core/config.mk b/core/config.mk index 4a0c540a9..c98863fbb 100644 --- a/core/config.mk +++ b/core/config.mk @@ -707,7 +707,11 @@ ANDROID_MANIFEST_MERGER := $(JAVA) \ COLUMN:= column ifeq ($(EXPERIMENTAL_USE_OPENJDK9),) +ifeq ($(RUN_ERROR_PRONE),true) USE_OPENJDK9 := +else +USE_OPENJDK9 := true +endif TARGET_OPENJDK9 := else ifeq ($(EXPERIMENTAL_USE_OPENJDK9),false) USE_OPENJDK9 :=