make/CompileJavaModules.gmk
changeset 44169 2cadf0cf763e
parent 43926 55bfd293eb16
child 44830 65c7a535e272
child 46199 1044e61f255d
equal deleted inserted replaced
44168:604022687602 44169:2cadf0cf763e
    83       #
    83       #
    84 endif
    84 endif
    85 
    85 
    86 ################################################################################
    86 ################################################################################
    87 
    87 
    88 java.compiler_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
    88 java.compiler_ADD_JAVAC_FLAGS := -Xdoclint:all/protected '-Xdoclint/package:java.*,javax.*'
    89 
    89 
    90 ################################################################################
    90 ################################################################################
    91 
    91 
    92 java.datatransfer_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
    92 java.datatransfer_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
    93 java.datatransfer_COPY := flavormap.properties
    93 java.datatransfer_COPY := flavormap.properties
   245 
   245 
   246 java.management_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
   246 java.management_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:java.*,javax.*'
   247 
   247 
   248 ################################################################################
   248 ################################################################################
   249 
   249 
   250 java.management.rmi_ADD_JAVAC_FLAGS := -Xdoclint:all/protected,-reference '-Xdoclint/package:javax.*'
   250 java.management.rmi_ADD_JAVAC_FLAGS := -Xdoclint:all/protected '-Xdoclint/package:javax.*'
   251 
   251 
   252 ################################################################################
   252 ################################################################################
   253 
   253 
   254 java.prefs_ADD_JAVAC_FLAGS := -Xdoclint:all/protected '-Xdoclint/package:java.*,javax.*'
   254 java.prefs_ADD_JAVAC_FLAGS := -Xdoclint:all/protected '-Xdoclint/package:java.*,javax.*'
   255 
   255 
   460 
   460 
   461 # -parameters provides method's parameters information in class file,
   461 # -parameters provides method's parameters information in class file,
   462 # JVMCI compilers make use of that information for various sanity checks.
   462 # JVMCI compilers make use of that information for various sanity checks.
   463 # Don't use Indy strings concatenation to have good JVMCI startup performance.
   463 # Don't use Indy strings concatenation to have good JVMCI startup performance.
   464 
   464 
   465 jdk.vm.ci_ADD_JAVAC_FLAGS := -parameters -Xlint:-exports -XDstringConcat=inline
   465 jdk.internal.vm.ci_ADD_JAVAC_FLAGS := -parameters -Xlint:-exports -XDstringConcat=inline
   466 
   466 
   467 ################################################################################
   467 ################################################################################
   468 
   468 
   469 jdk.vm.compiler_ADD_JAVAC_FLAGS := -parameters -XDstringConcat=inline
   469 jdk.internal.vm.compiler_ADD_JAVAC_FLAGS := -parameters -XDstringConcat=inline
   470 
   470 
   471 jdk.vm.compiler_EXCLUDES += \
   471 jdk.internal.vm.compiler_EXCLUDES += \
   472     org.graalvm.compiler.core.match.processor \
   472     org.graalvm.compiler.core.match.processor \
   473     org.graalvm.compiler.nodeinfo.processor \
   473     org.graalvm.compiler.nodeinfo.processor \
   474     org.graalvm.compiler.options.processor \
   474     org.graalvm.compiler.options.processor \
   475     org.graalvm.compiler.serviceprovider.processor \
   475     org.graalvm.compiler.serviceprovider.processor \
   476     org.graalvm.compiler.replacements.verifier \
   476     org.graalvm.compiler.replacements.verifier \
   555 MODULESOURCEPATH := $(call GetModuleSrcPath)
   555 MODULESOURCEPATH := $(call GetModuleSrcPath)
   556 
   556 
   557 # Add imported modules to the modulepath
   557 # Add imported modules to the modulepath
   558 MODULEPATH := $(call PathList, $(IMPORT_MODULES_CLASSES))
   558 MODULEPATH := $(call PathList, $(IMPORT_MODULES_CLASSES))
   559 
   559 
   560 ifeq ($(MODULE), jdk.vm.ci)
   560 ifeq ($(MODULE), jdk.internal.vm.ci)
   561   ## WORKAROUND jdk.vm.ci source structure issue
   561   ## WORKAROUND jdk.internal.vm.ci source structure issue
   562   JVMCI_MODULESOURCEPATH := $(MODULESOURCEPATH) \
   562   JVMCI_MODULESOURCEPATH := $(MODULESOURCEPATH) \
   563       $(subst /$(MODULE)/,/*/, $(filter-out %processor/src, \
   563       $(subst /$(MODULE)/,/*/, $(filter-out %processor/src, \
   564           $(wildcard $(HOTSPOT_TOPDIR)/src/jdk.vm.ci/share/classes/*/src)))
   564           $(wildcard $(HOTSPOT_TOPDIR)/src/$(MODULE)/share/classes/*/src)))
   565   MODULESOURCEPATH := $(call PathList, $(JVMCI_MODULESOURCEPATH))
   565   MODULESOURCEPATH := $(call PathList, $(JVMCI_MODULESOURCEPATH))
   566 endif
   566 endif
   567 
   567 
   568 ifeq ($(MODULE), jdk.vm.compiler)
   568 ifeq ($(MODULE), jdk.internal.vm.compiler)
   569   ## WORKAROUND jdk.vm.compiler source structure issue
   569   ## WORKAROUND jdk.internal.vm.compiler source structure issue
   570   VM_COMPILER_MODULESOURCEPATH := $(MODULESOURCEPATH) \
   570   VM_COMPILER_MODULESOURCEPATH := $(MODULESOURCEPATH) \
   571       $(subst /$(MODULE)/,/*/, $(filter-out %processor/src %test/src %jtt/src %bench/src %microbenchmarks/src, \
   571       $(subst /$(MODULE)/,/*/, $(filter-out %processor/src %test/src %jtt/src %bench/src %microbenchmarks/src, \
   572           $(wildcard $(HOTSPOT_TOPDIR)/src/$(MODULE)/share/classes/*/src)))
   572           $(wildcard $(HOTSPOT_TOPDIR)/src/$(MODULE)/share/classes/*/src)))
   573   MODULESOURCEPATH := $(call PathList, $(VM_COMPILER_MODULESOURCEPATH))
   573   MODULESOURCEPATH := $(call PathList, $(VM_COMPILER_MODULESOURCEPATH))
   574 endif
   574 endif