Merge
This commit is contained in:
commit
33ccf97905
@ -368,3 +368,4 @@ cae471d3b87783e0a3deea658e1e1c84b2485b6c jdk-9+121
|
||||
405d811c0d7b9b48ff718ae6c240b732f098c028 jdk-9+123
|
||||
f80c841ae2545eaf9acd2724bccc305d98cefbe2 jdk-9+124
|
||||
9aa7d40f3a453f51e47f4c1b19eff5740a74a9f8 jdk-9+125
|
||||
3a58466296d36944454756ef01e7513ac5e14a16 jdk-9+126
|
||||
|
@ -976,7 +976,6 @@ JVM_VARIANTS
|
||||
DEBUG_LEVEL
|
||||
HOTSPOT_DEBUG_LEVEL
|
||||
JDK_VARIANT
|
||||
SET_OPENJDK
|
||||
USERNAME
|
||||
CANONICAL_TOPDIR
|
||||
ORIGINAL_TOPDIR
|
||||
@ -5095,7 +5094,7 @@ VS_SDK_PLATFORM_NAME_2013=
|
||||
#CUSTOM_AUTOCONF_INCLUDE
|
||||
|
||||
# Do not change or remove the following line, it is needed for consistency checks:
|
||||
DATE_WHEN_GENERATED=1467223237
|
||||
DATE_WHEN_GENERATED=1467960715
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
@ -16592,41 +16591,17 @@ else
|
||||
fi
|
||||
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for presence of closed sources" >&5
|
||||
$as_echo_n "checking for presence of closed sources... " >&6; }
|
||||
if test -d "$SRC_ROOT/jdk/src/closed"; then
|
||||
CLOSED_SOURCE_PRESENT=yes
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if custom source is suppressed (openjdk-only)" >&5
|
||||
$as_echo_n "checking if custom source is suppressed (openjdk-only)... " >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_openjdk_only" >&5
|
||||
$as_echo "$enable_openjdk_only" >&6; }
|
||||
if test "x$enable_openjdk_only" = "xyes"; then
|
||||
SUPPRESS_CUSTOM_EXTENSIONS="true"
|
||||
elif test "x$enable_openjdk_only" = "xno"; then
|
||||
SUPPRESS_CUSTOM_EXTENSIONS="false"
|
||||
else
|
||||
CLOSED_SOURCE_PRESENT=no
|
||||
as_fn_error $? "Invalid value for --enable-openjdk-only: $enable_openjdk_only" "$LINENO" 5
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLOSED_SOURCE_PRESENT" >&5
|
||||
$as_echo "$CLOSED_SOURCE_PRESENT" >&6; }
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if closed source is suppressed (openjdk-only)" >&5
|
||||
$as_echo_n "checking if closed source is suppressed (openjdk-only)... " >&6; }
|
||||
SUPPRESS_CLOSED_SOURCE="$enable_openjdk_only"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SUPPRESS_CLOSED_SOURCE" >&5
|
||||
$as_echo "$SUPPRESS_CLOSED_SOURCE" >&6; }
|
||||
|
||||
if test "x$CLOSED_SOURCE_PRESENT" = xno; then
|
||||
OPENJDK=true
|
||||
if test "x$SUPPRESS_CLOSED_SOURCE" = "xyes"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No closed source present, --enable-openjdk-only makes no sense" >&5
|
||||
$as_echo "$as_me: WARNING: No closed source present, --enable-openjdk-only makes no sense" >&2;}
|
||||
fi
|
||||
else
|
||||
if test "x$SUPPRESS_CLOSED_SOURCE" = "xyes"; then
|
||||
OPENJDK=true
|
||||
else
|
||||
OPENJDK=false
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$OPENJDK" = "xtrue"; then
|
||||
SET_OPENJDK="OPENJDK=true"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# custom-make-dir is deprecated. Please use your custom-hook.m4 to override
|
||||
# the IncludeCustomExtension macro.
|
||||
@ -53313,11 +53288,7 @@ $as_echo "yes, forced" >&6; }
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, forced" >&5
|
||||
$as_echo "no, forced" >&6; }
|
||||
elif test "x$enable_dtrace" = "xauto" || test "x$enable_dtrace" = "x"; then
|
||||
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK" != "xtrue"; then
|
||||
INCLUDE_DTRACE=false
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, non-open linux build" >&5
|
||||
$as_echo "no, non-open linux build" >&6; }
|
||||
elif test "x$DTRACE_DEP_MISSING" = "xtrue"; then
|
||||
if test "x$DTRACE_DEP_MISSING" = "xtrue"; then
|
||||
INCLUDE_DTRACE=false
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, missing dependencies" >&5
|
||||
$as_echo "no, missing dependencies" >&6; }
|
||||
@ -53596,11 +53567,9 @@ $as_echo "yes" >&6; }
|
||||
NEEDS_LIB_CUPS=true
|
||||
fi
|
||||
|
||||
# Check if freetype is needed
|
||||
if test "x$OPENJDK" = "xtrue"; then
|
||||
# A custom hook may have set this already
|
||||
if test "x$NEEDS_LIB_FREETYPE" = "x"; then
|
||||
NEEDS_LIB_FREETYPE=true
|
||||
else
|
||||
NEEDS_LIB_FREETYPE=false
|
||||
fi
|
||||
|
||||
# Check if alsa is needed
|
||||
|
@ -161,10 +161,7 @@ AC_DEFUN_ONCE([HOTSPOT_SETUP_DTRACE],
|
||||
INCLUDE_DTRACE=false
|
||||
AC_MSG_RESULT([no, forced])
|
||||
elif test "x$enable_dtrace" = "xauto" || test "x$enable_dtrace" = "x"; then
|
||||
if test "x$OPENJDK_TARGET_OS" = "xlinux" && test "x$OPENJDK" != "xtrue"; then
|
||||
INCLUDE_DTRACE=false
|
||||
AC_MSG_RESULT([no, non-open linux build])
|
||||
elif test "x$DTRACE_DEP_MISSING" = "xtrue"; then
|
||||
if test "x$DTRACE_DEP_MISSING" = "xtrue"; then
|
||||
INCLUDE_DTRACE=false
|
||||
AC_MSG_RESULT([no, missing dependencies])
|
||||
else
|
||||
|
@ -117,36 +117,15 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_OPEN_OR_CUSTOM],
|
||||
AC_ARG_ENABLE([openjdk-only], [AS_HELP_STRING([--enable-openjdk-only],
|
||||
[suppress building custom source even if present @<:@disabled@:>@])],,[enable_openjdk_only="no"])
|
||||
|
||||
AC_MSG_CHECKING([for presence of closed sources])
|
||||
if test -d "$SRC_ROOT/jdk/src/closed"; then
|
||||
CLOSED_SOURCE_PRESENT=yes
|
||||
AC_MSG_CHECKING([if custom source is suppressed (openjdk-only)])
|
||||
AC_MSG_RESULT([$enable_openjdk_only])
|
||||
if test "x$enable_openjdk_only" = "xyes"; then
|
||||
SUPPRESS_CUSTOM_EXTENSIONS="true"
|
||||
elif test "x$enable_openjdk_only" = "xno"; then
|
||||
SUPPRESS_CUSTOM_EXTENSIONS="false"
|
||||
else
|
||||
CLOSED_SOURCE_PRESENT=no
|
||||
AC_MSG_ERROR([Invalid value for --enable-openjdk-only: $enable_openjdk_only])
|
||||
fi
|
||||
AC_MSG_RESULT([$CLOSED_SOURCE_PRESENT])
|
||||
|
||||
AC_MSG_CHECKING([if closed source is suppressed (openjdk-only)])
|
||||
SUPPRESS_CLOSED_SOURCE="$enable_openjdk_only"
|
||||
AC_MSG_RESULT([$SUPPRESS_CLOSED_SOURCE])
|
||||
|
||||
if test "x$CLOSED_SOURCE_PRESENT" = xno; then
|
||||
OPENJDK=true
|
||||
if test "x$SUPPRESS_CLOSED_SOURCE" = "xyes"; then
|
||||
AC_MSG_WARN([No closed source present, --enable-openjdk-only makes no sense])
|
||||
fi
|
||||
else
|
||||
if test "x$SUPPRESS_CLOSED_SOURCE" = "xyes"; then
|
||||
OPENJDK=true
|
||||
else
|
||||
OPENJDK=false
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$OPENJDK" = "xtrue"; then
|
||||
SET_OPENJDK="OPENJDK=true"
|
||||
fi
|
||||
|
||||
AC_SUBST(SET_OPENJDK)
|
||||
|
||||
# custom-make-dir is deprecated. Please use your custom-hook.m4 to override
|
||||
# the IncludeCustomExtension macro.
|
||||
|
@ -59,11 +59,9 @@ AC_DEFUN_ONCE([LIB_DETERMINE_DEPENDENCIES],
|
||||
NEEDS_LIB_CUPS=true
|
||||
fi
|
||||
|
||||
# Check if freetype is needed
|
||||
if test "x$OPENJDK" = "xtrue"; then
|
||||
# A custom hook may have set this already
|
||||
if test "x$NEEDS_LIB_FREETYPE" = "x"; then
|
||||
NEEDS_LIB_FREETYPE=true
|
||||
else
|
||||
NEEDS_LIB_FREETYPE=false
|
||||
fi
|
||||
|
||||
# Check if alsa is needed
|
||||
|
@ -108,7 +108,6 @@ OPENJDK_BUILD_CPU_ENDIAN:=@OPENJDK_BUILD_CPU_ENDIAN@
|
||||
REQUIRED_OS_NAME:=@REQUIRED_OS_NAME@
|
||||
REQUIRED_OS_VERSION:=@REQUIRED_OS_VERSION@
|
||||
|
||||
@SET_OPENJDK@
|
||||
LIBM:=@LIBM@
|
||||
LIBDL:=@LIBDL@
|
||||
|
||||
|
@ -205,11 +205,6 @@ ifdef BUILD_HEADLESS_ONLY
|
||||
java.desktop_EXCLUDES += sun/applet
|
||||
endif
|
||||
|
||||
# Why is this in the open source tree?
|
||||
ifdef OPENJDK
|
||||
java.desktop_EXCLUDES += sun/dc
|
||||
endif
|
||||
|
||||
# Used on windows and macosx
|
||||
ifeq ($(filter $(OPENJDK_TARGET_OS), windows macosx), )
|
||||
java.desktop_EXCLUDE_FILES += sun/awt/AWTCharset.java
|
||||
|
@ -207,12 +207,6 @@ ifneq ($(OPENJDK_TARGET_OS), windows)
|
||||
tnameserv.1 \
|
||||
unpack200.1
|
||||
|
||||
ifndef OPENJDK
|
||||
ifneq ($(OPENJDK_TARGET_OS), solaris)
|
||||
JRE_MAN_PAGES += javaws.1
|
||||
endif
|
||||
endif
|
||||
|
||||
JDK_MAN_PAGES += \
|
||||
$(JRE_MAN_PAGES) \
|
||||
appletviewer.1 \
|
||||
|
@ -290,19 +290,15 @@ $(call CopyrightLine,$(COPYRIGHT_URL),$(FIRST_COPYRIGHT_YEAR),)\
|
||||
|
||||
# Common javadoc options used by all bundles
|
||||
|
||||
ifdef OPENJDK
|
||||
ADDITIONAL_JAVADOCFLAGS = \
|
||||
-Xdocrootparent $(DOCS_BASE_URL)
|
||||
else
|
||||
ADDITIONAL_JAVADOCFLAGS =
|
||||
endif
|
||||
# This flag may be overridden from a custom makefile
|
||||
DOCROOTPARENT_FLAG = -Xdocrootparent $(DOCS_BASE_URL)
|
||||
|
||||
define COMMON_JAVADOCFLAGS
|
||||
$(call OptionOnly,-XDignore.symbol.file=true) ; \
|
||||
$(call OptionOnly,-quiet) ; \
|
||||
$(call OptionOnly,-use) ; \
|
||||
$(call OptionOnly,-keywords) ; \
|
||||
$(call OptionOnly,$(ADDITIONAL_JAVADOCFLAGS))
|
||||
$(call OptionOnly,$(DOCROOTPARENT_FLAG))
|
||||
endef
|
||||
|
||||
# Common javadoc tags used by all bundles
|
||||
@ -1038,8 +1034,6 @@ ALL_OTHER_TARGETS += mgmtdocs
|
||||
|
||||
MGMT_DOCDIR := $(JRE_API_DOCSDIR)/management/extension
|
||||
MGMT2COREAPI := ../../$(JDKJRE2COREAPI)
|
||||
JVM_MIB_NAME := JVM-MANAGEMENT-MIB.mib
|
||||
JVM_MIB_SRC := $(JDK_TOPDIR)/src/closed/jdk.snmp/share/classes/sun/management/snmp/$(JVM_MIB_NAME)
|
||||
MGMT_DOCTITLE := Monitoring and Management Interface for the Java$(TRADEMARK) Platform
|
||||
MGMT_WINDOWTITLE := Monitoring and Management Interface for the Java Platform
|
||||
MGMT_HEADER := <strong>Monitoring and Management Interface for the Java Platform</strong>
|
||||
@ -1063,11 +1057,6 @@ $(MGMT_INDEX_FILE): GET2DOCSDIR=$(MGMT2COREAPI)/..
|
||||
# Run javadoc if the index file is out of date or missing
|
||||
$(MGMT_INDEX_FILE): $(MGMT_OPTIONS_FILE) $(MGMT_PACKAGES_FILE) $(COREAPI_INDEX_FILE)
|
||||
$(prep-javadoc)
|
||||
@if [ -f $(JVM_MIB_SRC) ] ; then \
|
||||
$(CP) $(JVM_MIB_SRC) $(@D)/.. ; \
|
||||
else \
|
||||
$(ECHO) "WARNING: File $(JVM_MIB_NAME) not available."; \
|
||||
fi
|
||||
$(call JavadocSummary,$(MGMT_OPTIONS_FILE),$(MGMT_PACKAGES_FILE))
|
||||
$(JAVADOC_CMD_SMALL) -d $(@D) \
|
||||
@$(MGMT_OPTIONS_FILE) @$(MGMT_PACKAGES_FILE)
|
||||
@ -1223,8 +1212,7 @@ JSHELLAPI_DOCTITLE := JShell API
|
||||
JSHELLAPI_WINDOWTITLE := JShell API
|
||||
JSHELLAPI_HEADER := <strong>JSHELL API</strong>
|
||||
JSHELLAPI_BOTTOM := $(call CommonBottom,$(JSHELLAPI_FIRST_COPYRIGHT_YEAR))
|
||||
JSHELLAPI_GROUPNAME := Packages
|
||||
JSHELLAPI_REGEXP := jdk.jshell.*
|
||||
JSHELLAPI_OVERVIEW := $(LANGTOOLS_TOPDIR)/src/jdk.jshell/share/classes/jdk/jshell/overview.html
|
||||
# JSHELLAPI_PKGS is located in NON_CORE_PKGS.gmk
|
||||
|
||||
JSHELLAPI_INDEX_HTML = $(JSHELLAPI_DOCDIR)/index.html
|
||||
@ -1256,11 +1244,11 @@ $(JSHELLAPI_OPTIONS_FILE):
|
||||
$(call OptionPair,-modulesourcepath,$(RELEASEDOCS_MODULESOURCEPATH)) ; \
|
||||
$(call OptionPair,-addmods,$(JSHELLAPI_MODULES)) ; \
|
||||
$(call OptionPair,-encoding,ascii) ; \
|
||||
$(call OptionPair,-overview,$(JSHELLAPI_OVERVIEW)) ; \
|
||||
$(call OptionPair,-doctitle,$(JSHELLAPI_DOCTITLE)) ; \
|
||||
$(call OptionPair,-windowtitle,$(JSHELLAPI_WINDOWTITLE) $(DRAFT_WINTITLE)); \
|
||||
$(call OptionPair,-header,$(JSHELLAPI_HEADER)$(DRAFT_HEADER)) ; \
|
||||
$(call OptionPair,-bottom,$(JSHELLAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \
|
||||
$(call OptionTrip,-group,$(JSHELLAPI_GROUPNAME),$(JSHELLAPI_REGEXP)); \
|
||||
$(call OptionTrip,-linkoffline,$(JSHELLAPI2COREAPI),$(COREAPI_DOCSDIR)/); \
|
||||
) >> $@
|
||||
|
||||
@ -1705,3 +1693,7 @@ $(JAVADOC_ARCHIVE): $(COREAPI_INDEX_FILE)
|
||||
#############################################################
|
||||
.PHONY: all docs coredocs otherdocs \
|
||||
$(ALL_OTHER_TARGETS) zip-docs
|
||||
|
||||
################################################################################
|
||||
|
||||
$(eval $(call IncludeCustomExtension, , Javadoc-post.gmk))
|
||||
|
@ -933,10 +933,6 @@ create-main-targets-include:
|
||||
|
||||
################################################################################
|
||||
|
||||
|
||||
# workaround issue when building open targets when closed jib-profiles.js is used
|
||||
installer: product-images test-image
|
||||
|
||||
.PHONY: $(ALL_TARGETS)
|
||||
|
||||
FRC: # Force target
|
||||
|
@ -81,7 +81,9 @@ ATTACH_PKGS = com.sun.tools.attach \
|
||||
|
||||
JCONSOLE_PKGS = com.sun.tools.jconsole
|
||||
|
||||
JSHELLAPI_PKGS = jdk.jshell
|
||||
JSHELLAPI_PKGS = jdk.jshell \
|
||||
jdk.jshell.spi \
|
||||
jdk.jshell.execution
|
||||
|
||||
TREEAPI_PKGS = com.sun.source.doctree \
|
||||
com.sun.source.tree \
|
||||
|
Loading…
Reference in New Issue
Block a user