make/CreateJmods.gmk
changeset 42518 f7ec0bceb374
parent 42505 11439b0c0792
parent 42517 d3485deb09eb
child 44073 74a8eb45afb6
equal deleted inserted replaced
42516:238e72a732d8 42518:f7ec0bceb374
    87 LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))
    87 LEGAL_NOTICES_PATH := $(call PathList, $(LEGAL_NOTICES))
    88 DEPS += $(call CacheFind, $(LEGAL_NOTICES))
    88 DEPS += $(call CacheFind, $(LEGAL_NOTICES))
    89 
    89 
    90 JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
    90 JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
    91 
    91 
       
    92 ifeq ($(filter-out jdk.incubator.%, $(MODULE)), )
       
    93   JMOD_FLAGS += --do-not-resolve-by-default
       
    94   JMOD_FLAGS += --warn-if-resolved=incubating
       
    95 endif
       
    96 
    92 # Add dependencies on other jmod files. Only java.base needs access to other
    97 # Add dependencies on other jmod files. Only java.base needs access to other
    93 # jmods.
    98 # jmods.
    94 ifeq ($(MODULE), java.base)
    99 ifeq ($(MODULE), java.base)
    95   # When creating a BUILDJDK, we don't need to add hashes to java.base
   100   # When creating a BUILDJDK, we don't need to add hashes to java.base
    96   ifneq ($(CREATING_BUILDJDK), true)
   101   ifneq ($(CREATING_BUILDJDK), true)