Make Javac throw an exception in the event of a compile error

Provides better feedback when writing tests that fail due to a compile
error.

Test: atest class2greylisttest
Bug: 119861512
Change-Id: I79d5a1c0406f070b5f02c5c8ec1a362e5d03ee39
4 files changed