Fix the issues highlighted by ArrayToString
Added the following to the CtsJdwp target:
LOCAL_ERROR_PRONE_FLAGS += -XepPatchChecks:ArrayToString -XepPatchLocation:IN_PLACE
Ran the following to make the changes - there were some issues
so fixed some manually:
make -j32 javac-check-CtsJdwp RUN_ERROR_PRONE=true
Updated the build file to prevent ArrayToString issues being
added again.
Bug: 37995059
Test: make java-check-CtsJdwp RUN_ERROR_PRONE=true
Change-Id: I7da7793949a3ba99367216a1982b347168c0cd8b
Loading
Please sign in to comment