8066761: Investigate -sourcepath usage when compiling java
Removed all uses of -sourcepath Reviewed-by: jfranck, alanb, ihse
This commit is contained in:
parent
294a85dbe7
commit
77e5c6eadf
@ -46,8 +46,7 @@ $(eval $(call SetupJavaCompilation,BUILD_INTERIM_RMIC, \
|
|||||||
SRC := $(JDK_TOPDIR)/src/jdk.rmic/share/classes, \
|
SRC := $(JDK_TOPDIR)/src/jdk.rmic/share/classes, \
|
||||||
INCLUDES := $(RMIC_PKGS), \
|
INCLUDES := $(RMIC_PKGS), \
|
||||||
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_classes, \
|
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_classes, \
|
||||||
COPY := .properties, \
|
COPY := .properties))
|
||||||
JAVAC_SOURCE_PATH_OVERRIDE := $(addprefix $(JDK_TOPDIR)/src/jdk.rmic/share/classes/, $(RMIC_PKGS))))
|
|
||||||
|
|
||||||
##########################################################################################
|
##########################################################################################
|
||||||
|
|
||||||
|
@ -44,17 +44,10 @@ TEXT_SOURCES := $(TEXT_PKG)/BreakIteratorRules.java \
|
|||||||
# Generate BreakIteratorData
|
# Generate BreakIteratorData
|
||||||
BREAK_ITERATOR_CLASSES := $(BUILDTOOLS_OUTPUTDIR)/break_iterator_classes
|
BREAK_ITERATOR_CLASSES := $(BUILDTOOLS_OUTPUTDIR)/break_iterator_classes
|
||||||
|
|
||||||
# JAVAC_SOURCE_PATH_OVERRIDE is set to isolate the compile to just those
|
# These two files should be moved out to a build tool!
|
||||||
# two files in that directory and not get anything implicit from
|
|
||||||
# surrounding directories which aren't jdk N-1 compatible.
|
|
||||||
# Because we are targeting jdk N-1, but the surrounding source code is jdk N.
|
|
||||||
# These two files should be moved out to a build tool! We have to disable
|
|
||||||
# sjavac here as well.
|
|
||||||
$(eval $(call SetupJavaCompilation,BUILD_BREAKITERATOR, \
|
$(eval $(call SetupJavaCompilation,BUILD_BREAKITERATOR, \
|
||||||
SETUP := GENERATE_OLDBYTECODE, \
|
SETUP := GENERATE_OLDBYTECODE, \
|
||||||
SRC := $(TEXT_SRCDIR), \
|
SRC := $(TEXT_SRCDIR), \
|
||||||
DISABLE_SJAVAC := true, \
|
|
||||||
JAVAC_SOURCE_PATH_OVERRIDE := $(patsubst %, %/$(TEXT_PKG), $(TEXT_SRCDIR)), \
|
|
||||||
INCLUDES := $(TEXT_PKG), \
|
INCLUDES := $(TEXT_PKG), \
|
||||||
INCLUDE_FILES := $(TEXT_SOURCES), \
|
INCLUDE_FILES := $(TEXT_SOURCES), \
|
||||||
BIN := $(BREAK_ITERATOR_CLASSES)))
|
BIN := $(BREAK_ITERATOR_CLASSES)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user