# HG changeset patch # User jlaskey # Date 1360013409 14400 # Node ID ecd447139a39f81ab9353bfc2c1e0b68bcda5006 # Parent 3dc55f0c1b6f51c4ae9526f3ce556aae84d6ecc8# Parent 2a713921952cbd77a1e699626976cb6cdfe3e57e Merge diff -r 3dc55f0c1b6f -r ecd447139a39 .hgtags --- a/.hgtags Mon Jan 28 16:29:34 2013 -0400 +++ b/.hgtags Mon Feb 04 17:30:09 2013 -0400 @@ -195,3 +195,4 @@ 51ad2a34342055333eb5f36e2fb514b027895708 jdk8-b71 c1be681d80a1f1c848dc671d664fccb19e046a12 jdk8-b72 93b9664f97eeb6f89397a8842318ebacaac9feb9 jdk8-b73 +b43aa5bd8ca5c8121336495382d35ecfa7a71536 jdk8-b74 diff -r 3dc55f0c1b6f -r ecd447139a39 common/autoconf/generated-configure.sh --- a/common/autoconf/generated-configure.sh Mon Jan 28 16:29:34 2013 -0400 +++ b/common/autoconf/generated-configure.sh Mon Feb 04 17:30:09 2013 -0400 @@ -2928,6 +2928,32 @@ # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- + +# +# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Oracle designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA +# or visit www.oracle.com if you need additional information or have any +# questions. +# + # # Copyright © 2004 Scott James Remnant . # @@ -3698,7 +3724,7 @@ #CUSTOM_AUTOCONF_INCLUDE # Do not change or remove the following line, it is needed for consistency checks: -DATE_WHEN_GENERATED=1358165331 +DATE_WHEN_GENERATED=1359376859 ############################################################################### # diff -r 3dc55f0c1b6f -r ecd447139a39 common/autoconf/jdk-options.m4 --- a/common/autoconf/jdk-options.m4 Mon Jan 28 16:29:34 2013 -0400 +++ b/common/autoconf/jdk-options.m4 Mon Feb 04 17:30:09 2013 -0400 @@ -389,7 +389,8 @@ AC_MSG_ERROR([Milestone must have a value]) elif test "x$with_milestone" != x; then MILESTONE="$with_milestone" -else +fi +if test "x$MILESTONE" = x; then MILESTONE=internal fi diff -r 3dc55f0c1b6f -r ecd447139a39 common/autoconf/libraries.m4 --- a/common/autoconf/libraries.m4 Mon Jan 28 16:29:34 2013 -0400 +++ b/common/autoconf/libraries.m4 Mon Feb 04 17:30:09 2013 -0400 @@ -136,6 +136,12 @@ AC_PATH_X AC_PATH_XTRA +# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling +# this doesn't make sense so we remove it. +if test "x$COMPILE_TYPE" = xcross; then + X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[[^ ]]*//g'` +fi + if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then HELP_MSG_MISSING_DEPENDENCY([x11]) AC_MSG_ERROR([Could not find X11 libraries. $HELP_MSG]) diff -r 3dc55f0c1b6f -r ecd447139a39 common/bin/compare_exceptions.sh.incl --- a/common/bin/compare_exceptions.sh.incl Mon Jan 28 16:29:34 2013 -0400 +++ b/common/bin/compare_exceptions.sh.incl Mon Feb 04 17:30:09 2013 -0400 @@ -887,6 +887,17 @@ ./jre/bin/unpack200.exe " +# jabswitch.exe is compiled and linked with incremental turned on in the old +# build. This makes no sense, so it's turned off in the new build. +ACCEPTED_SIZE_DIFF=" +./bin/jabswitch.exe +./jre/bin/jabswitch.exe +" +ACCEPTED_DIS_DIFF=" +./bin/jabswitch.exe +./jre/bin/jabswitch.exe +" + # On windows, there are unavoidable allignment issues making # a perfect disasm diff impossible. Filter out the following: # * Random parts of C++ symbols (this is a bit greedy, but does the trick) diff -r 3dc55f0c1b6f -r ecd447139a39 common/makefiles/Jprt.gmk --- a/common/makefiles/Jprt.gmk Mon Jan 28 16:29:34 2013 -0400 +++ b/common/makefiles/Jprt.gmk Mon Feb 04 17:30:09 2013 -0400 @@ -43,24 +43,20 @@ BUILD_DIR_ROOT:=$(root_dir)/build -# Appears to be an open build -OPEN_BUILD := \ -$(shell \ - if [ -d $(root_dir)/jdk/src/closed \ - -o -d $(root_dir)/jdk/make/closed \ - -o -d $(root_dir)/jdk/test/closed \ - -o -d $(root_dir)/hotspot/src/closed \ - -o -d $(root_dir)/hotspot/make/closed \ - -o -d $(root_dir)/hotspot/test/closed ] ; then \ - echo "false"; \ - else \ - echo "true"; \ - fi \ - ) ifdef OPENJDK OPEN_BUILD=true +else + OPEN_BUILD := $(if $(or $(wildcard $(root_dir)/jdk/src/closed), \ + $(wildcard $(root_dir)/jdk/make/closed), \ + $(wildcard $(root_dir)/jdk/test/closed), \ + $(wildcard $(root_dir)/hotspot/src/closed), \ + $(wildcard $(root_dir)/hotspot/make/closed), \ + $(wildcard $(root_dir)/hotspot/test/closed)), \ + false,true) endif +HOTSPOT_AVAILABLE := $(if $(wildcard $(root_dir)/hotspot),true,false) + ########################################################################### # To help in adoption of the new configure&&make build process, a bridge # build will use the old settings to run configure and do the build. @@ -103,6 +99,11 @@ ifdef ALT_FREETYPE_HEADERS_PATH @$(ECHO) " --with-freetype=$(call UnixPath,$(ALT_FREETYPE_HEADERS_PATH)/..) " >> $@.tmp endif +ifeq ($(HOTSPOT_AVAILABLE),false) + ifdef ALT_JDK_IMPORT_PATH + @$(ECHO) " --with-import-hotspot=$(call UnixPath,$(ALT_JDK_IMPORT_PATH)) " >> $@.tmp + endif +endif ifeq ($(OPEN_BUILD),true) @$(ECHO) " --enable-openjdk-only " >> $@.tmp else @@ -128,6 +129,9 @@ ifdef ALT_SLASH_JAVA @$(ECHO) " --with-java-devtools=$(call UnixPath,$(ALT_SLASH_JAVA)/devtools) " >> $@.tmp endif + ifdef ALT_SPARKLE_FRAMEWORK_DIR + @$(ECHO) " --with-sparkle-framework=$(call UnixPath,$(ALT_SPARKLE_FRAMEWORK_DIR)) " >> $@.tmp + endif endif @if [ -f $@ ] ; then \ if ! $(CMP) $@ $@.tmp > /dev/null ; then \ @@ -146,6 +150,9 @@ ifndef JPRT_ARCHIVE_BUNDLE JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip endif +ifndef JPRT_ARCHIVE_INSTALL_BUNDLE + JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip +endif # These targets execute in a SPEC free context, before calling bridgeBuild # to generate the SPEC. @@ -184,6 +191,9 @@ else $(CD) $(JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip . $(CD) $(JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip . + if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \ + $(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \ + fi endif @$(call TargetExit) diff -r 3dc55f0c1b6f -r ecd447139a39 make/install-rules.gmk --- a/make/install-rules.gmk Mon Jan 28 16:29:34 2013 -0400 +++ b/make/install-rules.gmk Mon Feb 04 17:30:09 2013 -0400 @@ -96,6 +96,9 @@ combo_build: @$(ECHO) $@ installer combo build started: `$(DATE) '+%y-%m-%d %H:%M'` $(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/ishield/wrapper/wrapper.jreboth ; $(MAKE) all + $(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/ishield/wrapper/wrapper.new64jre ; $(MAKE) all + $(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/ishield/jre ; $(MAKE) au_combo + $(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/xmlinffile ; $(MAKE) all install-clobber: ifeq ($(BUILD_INSTALL), true)