changeset 11076:081fcf15df7e

8066761: Investigate -sourcepath usage when compiling java Summary: Removed all uses of -sourcepath Reviewed-by: jfranck, alanb, ihse
author erikj
date Tue, 09 Dec 2014 08:57:41 +0100
parents 04cda88bbfde
children fb5752b152d9
files make/CompileInterimRmic.gmk make/gendata/GendataBreakIterator.gmk
diffstat 2 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/make/CompileInterimRmic.gmk	Tue Dec 09 08:43:06 2014 +0100
+++ b/make/CompileInterimRmic.gmk	Tue Dec 09 08:57:41 2014 +0100
@@ -46,8 +46,7 @@
     SRC := $(JDK_TOPDIR)/src/jdk.rmic/share/classes, \
     INCLUDES := $(RMIC_PKGS), \
     BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_classes, \
-    COPY := .properties, \
-    JAVAC_SOURCE_PATH_OVERRIDE := $(addprefix $(JDK_TOPDIR)/src/jdk.rmic/share/classes/, $(RMIC_PKGS))))
+    COPY := .properties))
 
 ##########################################################################################
 
--- a/make/gendata/GendataBreakIterator.gmk	Tue Dec 09 08:43:06 2014 +0100
+++ b/make/gendata/GendataBreakIterator.gmk	Tue Dec 09 08:57:41 2014 +0100
@@ -44,17 +44,10 @@
 # Generate BreakIteratorData
 BREAK_ITERATOR_CLASSES := $(BUILDTOOLS_OUTPUTDIR)/break_iterator_classes
 
-# JAVAC_SOURCE_PATH_OVERRIDE is set to isolate the compile to just those
-# 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.
+# These two files should be moved out to a build tool!
 $(eval $(call SetupJavaCompilation,BUILD_BREAKITERATOR, \
     SETUP := GENERATE_OLDBYTECODE, \
     SRC := $(TEXT_SRCDIR), \
-    DISABLE_SJAVAC := true, \
-    JAVAC_SOURCE_PATH_OVERRIDE := $(patsubst %, %/$(TEXT_PKG), $(TEXT_SRCDIR)), \
     INCLUDES := $(TEXT_PKG), \
     INCLUDE_FILES := $(TEXT_SOURCES), \
     BIN := $(BREAK_ITERATOR_CLASSES)))