changeset 2410:a07a11616b44

Merge
author alanb
date Fri, 16 Dec 2016 08:17:37 +0000
parents 854d10f38bac 8a46c6dfaac5
children 56d1bbe28435
files make/CreateJmods.gmk
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/CreateJmods.gmk	Thu Dec 15 22:00:30 2016 +0530
+++ b/make/CreateJmods.gmk	Fri Dec 16 08:17:37 2016 +0000
@@ -89,6 +89,11 @@
 
 JMOD_FLAGS += --legal-notices $(LEGAL_NOTICES_PATH)
 
+ifeq ($(filter-out jdk.incubator.%, $(MODULE)), )
+  JMOD_FLAGS += --do-not-resolve-by-default
+  JMOD_FLAGS += --warn-if-resolved=incubating
+endif
+
 # Add dependencies on other jmod files. Only java.base needs access to other
 # jmods.
 ifeq ($(MODULE), java.base)