diff --git a/core/combo/javac.mk b/core/combo/javac.mk index dac262857..a4cb6c51a 100644 --- a/core/combo/javac.mk +++ b/core/combo/javac.mk @@ -16,4 +16,5 @@ ANDROID_JAVA_TOOLCHAIN := $(ANDROID_JAVA_HOME)/bin # TODO(ccross): remove this, it is needed for now because it is used by # config.mk before makevars from soong are loaded -JAVA := $(ANDROID_JAVA_TOOLCHAIN)/java +JAVA := $(ANDROID_JAVA_TOOLCHAIN)/java -XX:OnError="cat hs_err_pid%p.log" +