diff --git a/core/config.mk b/core/config.mk index daaa54ee8..567e06d40 100644 --- a/core/config.mk +++ b/core/config.mk @@ -697,7 +697,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 :=