Bug 315917 - Make sure javac compiles JVM 1.4 compatible class files. r=bsmedberg

This commit is contained in:
pedemont%us.ibm.com 2005-12-18 17:09:28 +00:00
Родитель 2ad1939c70
Коммит e63dc949f8
4 изменённых файлов: 13 добавлений и 10 удалений

Просмотреть файл

@ -898,3 +898,14 @@ DEFINES += -DBUILD_ID=$(BUILD_ID)
ifeq (,$(filter WINCE WINNT OS2,$(OS_ARCH))) ifeq (,$(filter WINCE WINNT OS2,$(OS_ARCH)))
RUN_TEST_PROGRAM = $(DIST)/bin/run-mozilla.sh RUN_TEST_PROGRAM = $(DIST)/bin/run-mozilla.sh
endif endif
#
# Java macros
#
# Make sure any compiled classes work with at least JVM 1.4
JAVAC_FLAGS += -source 1.4
ifdef MOZ_DEBUG
JAVAC_FLAGS += -g
endif

Просмотреть файл

@ -68,10 +68,6 @@ GARBAGE_DIRS += _javagen org
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
ifdef MOZ_DEBUG
JAVAC_FLAGS = -g
endif
ifeq ($(OS_ARCH),WINNT) ifeq ($(OS_ARCH),WINNT)
RUN = RUN =
OUTPUT_DIR = $(shell cygpath -w $(CURDIR)/_javagen/org/mozilla/xpcom) OUTPUT_DIR = $(shell cygpath -w $(CURDIR)/_javagen/org/mozilla/xpcom)

Просмотреть файл

@ -97,10 +97,6 @@ GARBAGE_DIRS += _javagen org
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
ifdef MOZ_DEBUG
JAVAC_FLAGS = -g
endif
ifeq ($(OS_ARCH),WINNT) ifeq ($(OS_ARCH),WINNT)
RUN = RUN =
SEP = ; SEP = ;

Просмотреть файл

@ -78,8 +78,8 @@ include $(topsrcdir)/config/rules.mk
%.class: %.java Makefile Makefile.in %.class: %.java Makefile Makefile.in
$(REPORT_BUILD) $(REPORT_BUILD)
$(ELOG) $(CYGWIN_WRAPPER) $(JAVAC) -classpath $(_JAVA_CLASSPATH) -d . \ $(ELOG) $(CYGWIN_WRAPPER) $(JAVAC) $(JAVAC_FLAGS) \
$(_VPATH_SRCS) -classpath $(_JAVA_CLASSPATH) -d . $(_VPATH_SRCS)
# make sure to rebuild Java interfaces if our XPIDLSRCS change # make sure to rebuild Java interfaces if our XPIDLSRCS change
$(REBUILD_JAR): $(XPIDLSRCS) $(REBUILD_JAR): $(XPIDLSRCS)