Use "set -e" to prevent the make build from continuing normally if java compilation fails.
Change on 2017/03/06 by kstanger
@@ -277,7 +277,7 @@ endif
$(EMULATION_JAR): $(ALL_JAVA_SOURCES) $(STUB_JAVA_SOURCES) $(LAMBDA_SOURCES) \
$(SOURCE_RETENTION_ANNOTATIONS) | $(BUILD_DIR)
@echo "building jre_emul.jar"
- @stage_dir=`${MKTEMP_CMD}`; \
+ @set -e; stage_dir=`${MKTEMP_CMD}`; \
../scripts/javac_no_deprecated_warnings.sh $(JAVAC) \
-bootclasspath $(STUBS_DIR):$(LAMBDA_DIR) \
-classpath $(ANNOTATIONS_JAR) \
