Print this page
4719 Common patchset for jdk1.7 support preparation
*** 74,96 ****
# Controlled CLASSPATH for making
APICLASSPATH=$(CLASSES):$(APIJAVASRC)
# javac flags
! JFLAGS= -g -d $(CLASSES) -sourcepath $(APICLASSPATH) -deprecation
! JFLAGS += -target 1.5
! JFLAGS += -Xlint
# The default make rule for Java files
COMPILE.java=$(JAVAC) $(JFLAGS)
$(CLASSES)/$(PKGPATH)/%.class: $(APIJAVASRC)/$(PKGPATH)/%.java
$(COMPILE.java) $<
# javah generated headers
APIHDR= LocalConsumer.h
! JNIHDRS=$(JNI)/$(APIHDRS)
# API classes with native methods
JNI_CLASSNAMES=\
LocalConsumer
--- 74,96 ----
# Controlled CLASSPATH for making
APICLASSPATH=$(CLASSES):$(APIJAVASRC)
# javac flags
! JFLAGS= -g -d $(CLASSES) -sourcepath $(APICLASSPATH)
! JFLAGS += -source 1.5 -target 1.6
! JFLAGS += -Xlint:all,-rawtypes,-options
# The default make rule for Java files
COMPILE.java=$(JAVAC) $(JFLAGS)
$(CLASSES)/$(PKGPATH)/%.class: $(APIJAVASRC)/$(PKGPATH)/%.java
$(COMPILE.java) $<
# javah generated headers
APIHDR= LocalConsumer.h
! JNIHDRS=$(JNI)/$(APIHDR)
# API classes with native methods
JNI_CLASSNAMES=\
LocalConsumer