From a87b64f384263bdfd115ddbd3e48ae3cf767396d Mon Sep 17 00:00:00 2001 From: Sam Blackshear Date: Mon, 9 Jan 2017 09:55:29 -0800 Subject: [PATCH] [annotations] force java 7 compilation for annotations Reviewed By: dkgi, jvillard Differential Revision: D4388886 fbshipit-source-id: fe244fd --- infer/annotations/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infer/annotations/Makefile b/infer/annotations/Makefile index fdd5e98ef..4749f6946 100644 --- a/infer/annotations/Makefile +++ b/infer/annotations/Makefile @@ -21,7 +21,7 @@ all: $(ANNOTATIONS_JAR) $(ANNOTATIONS_JAR): $(ANNOT_SOURCES) mkdir -p $(ANNOT_CLASSES) - javac -cp $(JSR_JAR) $(ANNOT_SOURCES) -d $(ANNOT_CLASSES) + javac -source 7 -target 7 -cp $(JSR_JAR) $(ANNOT_SOURCES) -d $(ANNOT_CLASSES) cd $(ANNOT_CLASSES) && jar cvf $(ANNOTATIONS_JAR) com clean: