8191439: Race in building jdk.rmic.interim
Reviewed-by: mchung, tbell, ihse
This commit is contained in:
parent
c6aa806643
commit
18129b7776
@ -69,8 +69,8 @@ define SetupInterimModule
|
|||||||
Standard.java, \
|
Standard.java, \
|
||||||
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim/module-info.java, \
|
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/$1.interim/module-info.java, \
|
||||||
COPY := .gif .png .xml .css .js javax.tools.JavaCompilerTool, \
|
COPY := .gif .png .xml .css .js javax.tools.JavaCompilerTool, \
|
||||||
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_modules/$1.interim, \
|
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules/$1.interim, \
|
||||||
ADD_JAVAC_FLAGS := --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_modules \
|
ADD_JAVAC_FLAGS := --module-path $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules \
|
||||||
$$(INTERIM_LANGTOOLS_ADD_EXPORTS) \
|
$$(INTERIM_LANGTOOLS_ADD_EXPORTS) \
|
||||||
-Xlint:-module, \
|
-Xlint:-module, \
|
||||||
))
|
))
|
||||||
|
@ -65,10 +65,10 @@ $(eval $(call SetupJavaCompilation, BUILD_jdk.rmic.interim, \
|
|||||||
EXCLUDE_FILES := $(TOPDIR)/src/jdk.rmic/share/classes/module-info.java, \
|
EXCLUDE_FILES := $(TOPDIR)/src/jdk.rmic/share/classes/module-info.java, \
|
||||||
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/jdk.rmic.interim/module-info.java, \
|
EXTRA_FILES := $(BUILDTOOLS_OUTPUTDIR)/gensrc/jdk.rmic.interim/module-info.java, \
|
||||||
INCLUDES := $(RMIC_PKGS), \
|
INCLUDES := $(RMIC_PKGS), \
|
||||||
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_modules/jdk.rmic.interim, \
|
BIN := $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_modules/jdk.rmic.interim, \
|
||||||
COPY := .properties, \
|
COPY := .properties, \
|
||||||
ADD_JAVAC_FLAGS := \
|
ADD_JAVAC_FLAGS := \
|
||||||
--module-path $(BUILDTOOLS_OUTPUTDIR)/interim_modules \
|
--module-path $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_modules \
|
||||||
--add-modules java.corba \
|
--add-modules java.corba \
|
||||||
--add-exports java.corba/com.sun.corba.se.impl.util=jdk.rmic.interim \
|
--add-exports java.corba/com.sun.corba.se.impl.util=jdk.rmic.interim \
|
||||||
$(INTERIM_RMIC_ADD_EXPORTS), \
|
$(INTERIM_RMIC_ADD_EXPORTS), \
|
||||||
|
@ -577,7 +577,7 @@ INTERIM_LANGTOOLS_MODULES_COMMA := $(strip $(subst $(SPACE),$(COMMA),$(strip \
|
|||||||
INTERIM_LANGTOOLS_ARGS := \
|
INTERIM_LANGTOOLS_ARGS := \
|
||||||
--limit-modules java.base,jdk.zipfs,$(INTERIM_LANGTOOLS_MODULES_COMMA) \
|
--limit-modules java.base,jdk.zipfs,$(INTERIM_LANGTOOLS_MODULES_COMMA) \
|
||||||
--add-modules $(INTERIM_LANGTOOLS_MODULES_COMMA) \
|
--add-modules $(INTERIM_LANGTOOLS_MODULES_COMMA) \
|
||||||
--module-path $(BUILDTOOLS_OUTPUTDIR)/interim_modules \
|
--module-path $(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules \
|
||||||
$(INTERIM_LANGTOOLS_ADD_EXPORTS) \
|
$(INTERIM_LANGTOOLS_ADD_EXPORTS) \
|
||||||
#
|
#
|
||||||
JAVAC_MAIN_CLASS = -m jdk.compiler.interim/com.sun.tools.javac.Main
|
JAVAC_MAIN_CLASS = -m jdk.compiler.interim/com.sun.tools.javac.Main
|
||||||
@ -588,8 +588,10 @@ INTERIM_RMIC_MODULES := $(addsuffix .interim, $(INTERIM_RMIC_BASE_MODULES))
|
|||||||
INTERIM_RMIC_ADD_EXPORTS := \
|
INTERIM_RMIC_ADD_EXPORTS := \
|
||||||
--add-exports java.corba/com.sun.corba.se.impl.util=jdk.rmic.interim \
|
--add-exports java.corba/com.sun.corba.se.impl.util=jdk.rmic.interim \
|
||||||
#
|
#
|
||||||
INTERIM_RMIC_ARGS := --limit-modules java.base,jdk.compiler,jdk.javadoc,java.corba \
|
# Use = to delay expansion of PathList since it's not available in this file.
|
||||||
--module-path $(BUILDTOOLS_OUTPUTDIR)/interim_modules \
|
INTERIM_RMIC_ARGS = --limit-modules java.base,jdk.compiler,jdk.javadoc,java.corba \
|
||||||
|
--module-path $(call PathList, $(BUILDTOOLS_OUTPUTDIR)/interim_rmic_modules \
|
||||||
|
$(BUILDTOOLS_OUTPUTDIR)/interim_langtools_modules) \
|
||||||
$(INTERIM_RMIC_ADD_EXPORTS) \
|
$(INTERIM_RMIC_ADD_EXPORTS) \
|
||||||
#
|
#
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user