forked from openkylin/platform_build
Print full diagnostics file when Java process crashes.
Bug: 132766811 Test: treehugger Change-Id: Id415c01559a941b793b03647354be136fa64d9a7
This commit is contained in:
parent
275919a79e
commit
09fd82ea89
|
@ -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
|
# TODO(ccross): remove this, it is needed for now because it is used by
|
||||||
# config.mk before makevars from soong are loaded
|
# 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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue