Print this page
4719 Common patchset for jdk1.7 support preparation
*** 58,70 ****
lint:
install: all $(PROTO_TEST_JAR)
! JFLAGS= -g -cp $(CLASSPATH) -d $(CLASSDIR) -deprecation
! JFLAGS += -target 1.5
! JFLAGS += -Xlint
COMPILE.java=$(JAVAC) $(JFLAGS)
$(TEST_JAR): $(SRCDIR)/*.java
@mkdir -p $(CLASSDIR)
$(COMPILE.java) $(SRCDIR)/*.java
--- 58,69 ----
lint:
install: all $(PROTO_TEST_JAR)
! JFLAGS= -g -cp $(CLASSPATH) -d $(CLASSDIR)
! JFLAGS += -source 1.5 -target 1.6 -Xlint:all,-options,-rawtypes
COMPILE.java=$(JAVAC) $(JFLAGS)
$(TEST_JAR): $(SRCDIR)/*.java
@mkdir -p $(CLASSDIR)
$(COMPILE.java) $(SRCDIR)/*.java