Print this page
4719 Common patchset for jdk1.7 support preparation
*** 53,63 ****
# Controlled CLASSPATH for making
SLPCLASSPATH=$(CLASSES):$(SLPJAVASRC)
# javac flags
! JFLAGS= -O -d $(CLASSES) -sourcepath $(SLPCLASSPATH) -deprecation
# The default make rule for Java files
COMPILE.java=$(JAVAC) $(JFLAGS)
$(CLASSES)/$(PKGPATH)/%.class: $(SLPJAVASRC)/$(PKGPATH)/%.java
--- 53,64 ----
# Controlled CLASSPATH for making
SLPCLASSPATH=$(CLASSES):$(SLPJAVASRC)
# javac flags
! JFLAGS= -O -d $(CLASSES) -sourcepath $(SLPCLASSPATH)
! JFLAGS += -source 1.6 -target 1.6 -Xlint:deprecation,-options
# The default make rule for Java files
COMPILE.java=$(JAVAC) $(JFLAGS)
$(CLASSES)/$(PKGPATH)/%.class: $(SLPJAVASRC)/$(PKGPATH)/%.java