Print this page
4719 Common patchset for jdk1.7 support preparation

@@ -53,11 +53,12 @@
 
 # Controlled CLASSPATH for making
 SLPCLASSPATH=$(CLASSES):$(SLPJAVASRC)
 
 # javac flags
-JFLAGS= -O -d $(CLASSES) -sourcepath $(SLPCLASSPATH) -deprecation
+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