mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-24 12:28:12 +00:00
Merge
This commit is contained in:
commit
b321d4a736
@ -33,3 +33,4 @@ d1c43d1f5676a24ba86221ac7cad5694f3a9afda jdk7-b54
|
||||
7fd3bc37afe36f8f6165ba679db1229716db822a jdk7-b56
|
||||
d5a1223e961891564de25c39fba6f2442d0fb045 jdk7-b57
|
||||
9ba256e2e5c161b89e638390f998baa175ec9abe jdk7-b58
|
||||
2a5a1b269e89f27ebe419ef4cf6e66a3face0df1 jdk7-b59
|
||||
|
||||
@ -165,6 +165,12 @@ ifeq ($(FASTDEBUG), true)
|
||||
endif
|
||||
endif
|
||||
|
||||
# DEBUG_BINARIES overrides everything, use full -g debug information
|
||||
ifeq ($(DEBUG_BINARIES), true)
|
||||
DEBUG_FLAG = -g
|
||||
CFLAGS_REQUIRED += $(DEBUG_FLAG)
|
||||
endif
|
||||
|
||||
CFLAGS_OPT = $(CC_OPT)
|
||||
CFLAGS_DBG = $(DEBUG_FLAG)
|
||||
CFLAGS_COMMON += $(CFLAGS_REQUIRED)
|
||||
@ -240,8 +246,11 @@ AUTOMATIC_PCH_OPTION =
|
||||
#
|
||||
ifeq ($(VARIANT), OPT)
|
||||
ifneq ($(NO_STRIP), true)
|
||||
# Debug 'strip -g' leaves local function Elf symbols (better stack traces)
|
||||
POST_STRIP_PROCESS = $(STRIP) -g
|
||||
ifneq ($(DEBUG_BINARIES), true)
|
||||
# Debug 'strip -g' leaves local function Elf symbols (better stack
|
||||
# traces)
|
||||
POST_STRIP_PROCESS = $(STRIP) -g
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
@ -277,9 +277,9 @@ ifeq ($(ARCH_DATA_MODEL), 32)
|
||||
# Assume PlatformSDK is in VS71 (will be empty if VS90)
|
||||
_ms_sdk :=$(call FullPath,$(_msvc_dir)/PlatformSDK)
|
||||
# Assume VS90, then VS80, then VS71
|
||||
_redist_sdk :=$(call FullPath,$(_msvc_dir)/../SDK/v3.5/Bin)
|
||||
_redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC90.CRT)
|
||||
ifeq ($(_redist_sdk),)
|
||||
_redist_sdk :=$(call FullPath,$(_msvc_dir)/../SDK/v2.0/Bin)
|
||||
_redist_sdk :=$(call FullPath,$(_msvc_dir)/redist/x86/Microsoft.VC80.CRT)
|
||||
ifeq ($(_redist_sdk),)
|
||||
_redist_sdk :=$(call FullPath,$(_msvc_dir)/../SDK/v1.1/Bin)
|
||||
endif
|
||||
|
||||
@ -1502,6 +1502,9 @@ endif
|
||||
# JIBX_LIBS_PATH must be valid
|
||||
######################################################
|
||||
sane-jibx:
|
||||
ifdef DISABLE_NIMBUS
|
||||
$(call SanityWarning,Disabling Nimbus will remove public API in javax.swing.plaf.nimbus.)
|
||||
else
|
||||
@if [ ! -r $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar ]; then \
|
||||
$(ECHO) "ERROR: You do not have access to valid JIBX library files. \n" \
|
||||
" Please check your access to \n" \
|
||||
@ -1509,6 +1512,7 @@ sane-jibx:
|
||||
" and/or check your value of ALT_JDK_DEVTOOLS_DIR, ALT_JIBX_LIBS_PATH \n" \
|
||||
"" >> $(ERROR_FILE) ; \
|
||||
fi
|
||||
endif
|
||||
|
||||
######################################################
|
||||
# MOZILLA_HEADERS_PATH must be valid
|
||||
|
||||
@ -323,6 +323,30 @@ HTTPSERVER_DOCTITLE = "Java$(TRADEMARK) HTTP Server"
|
||||
HTTPSERVER_JAVADOCHEADER = "Java HTTP Server"
|
||||
# HTTPSERVER_PKGS is located in NON_CORE_PKGS.gmk
|
||||
|
||||
#
|
||||
# Variables used by sctp target
|
||||
#
|
||||
|
||||
SCTPAPI_SOURCEPATH = $(TOPDIR)/src/share/classes
|
||||
SCTPAPI_DOCDIR = $(DOCSDIR)/jre/api/nio/sctp/spec
|
||||
|
||||
SCTPAPI_JAVADOCFLAGS = $(COMMON_JAVADOCFLAGS) \
|
||||
-encoding ascii \
|
||||
-nodeprecatedlist \
|
||||
-d $(SCTPAPI_DOCDIR) \
|
||||
-sourcepath $(SCTPAPI_SOURCEPATH) \
|
||||
-windowtitle $(SCTPAPI_WINDOWTITLE) \
|
||||
-doctitle $(SCTPAPI_DOCTITLE) \
|
||||
-header $(SCTPAPI_JAVADOCHEADER) \
|
||||
-bottom $(SCTPAPI_JAVADOCBOTTOM) \
|
||||
-linkoffline ../../../../../api $(DOCSDIR)/api/
|
||||
|
||||
SCTPAPI_WINDOWTITLE = "SCTP API"
|
||||
SCTPAPI_DOCTITLE = "SCTP API"
|
||||
SCTPAPI_JAVADOCHEADER = "SCTP API"
|
||||
SCTPAPI_JAVADOCBOTTOM = '<font size="-1"><a href="http://bugs.sun.com/services/bugreport/index.jsp">Report a bug or request a feature.</a><br>Copyright $(THIS_YEAR) Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.</font>'
|
||||
# SCTPAPI_PKGS is located in NON_CORE_PKGS.gmk
|
||||
|
||||
#
|
||||
# Variables used by jvmti target
|
||||
#
|
||||
@ -451,6 +475,7 @@ ALL_OTHER_TARGETS = \
|
||||
smartcardiodocs \
|
||||
tracingdocs \
|
||||
httpserverdocs \
|
||||
sctpdocs \
|
||||
mgmtdocs \
|
||||
attachdocs \
|
||||
jconsoledocs \
|
||||
@ -631,6 +656,14 @@ httpserverdocs:
|
||||
$(JAVADOC_CMD) $(HTTPSERVER_JAVADOCFLAGS) \
|
||||
$(HTTPSERVER_PKGS)
|
||||
|
||||
.PHONY: sctpdocs
|
||||
sctpdocs:
|
||||
@# ######## api-sctp #######################
|
||||
$(RM) -r $(SCTPAPI_DOCDIR)
|
||||
$(MKDIR) -p $(SCTPAPI_DOCDIR)
|
||||
$(JAVADOC_CMD) $(SCTPAPI_JAVADOCFLAGS) \
|
||||
$(SCTPAPI_PKGS)
|
||||
|
||||
.PHONY: mgmtdocs
|
||||
mgmtdocs: $(COPY-MIB-TARGET)
|
||||
@# ######## api-management ############################
|
||||
|
||||
@ -34,7 +34,9 @@ include $(BUILDDIR)/common/Defs.gmk
|
||||
#
|
||||
include FILES.gmk
|
||||
AUTO_FILES_JAVA_DIRS = javax/swing/plaf sun/swing com/sun/java/swing/plaf
|
||||
SUBDIRS = nimbus
|
||||
ifndef DISABLE_NIMBUS
|
||||
SUBDIRS = nimbus
|
||||
endif
|
||||
|
||||
# Nimbus is handled in its own directory
|
||||
AUTO_JAVA_PRUNE = nimbus
|
||||
|
||||
@ -53,19 +53,19 @@ jprt.solaris_x64.build.platform.match32=solaris_i586_5.10
|
||||
|
||||
# Standard list of jprt test targets for this workspace
|
||||
jprt.test.targets=*-*-*-jvm98
|
||||
jprt.regression.test.targets= \
|
||||
*-*-*-java/lang, \
|
||||
*-*-*-java/security, \
|
||||
*-*-*-java/text, \
|
||||
*-*-*-java/util
|
||||
jprt.regression.test.targets= \
|
||||
*-product-*-java/lang, \
|
||||
*-product-*-java/security, \
|
||||
*-product-*-java/text, \
|
||||
*-product-*-java/util
|
||||
|
||||
#jprt.regression.test.targets= \
|
||||
# *-*-*-java/awt, \
|
||||
# *-*-*-java/beans, \
|
||||
# *-*-*-java/io, \
|
||||
# *-*-*-java/net, \
|
||||
# *-*-*-java/nio, \
|
||||
# *-*-*-java/rmi, \
|
||||
# *-product-*-java/awt, \
|
||||
# *-product-*-java/beans, \
|
||||
# *-product-*-java/io, \
|
||||
# *-product-*-java/net, \
|
||||
# *-product-*-java/nio, \
|
||||
# *-product-*-java/rmi, \
|
||||
|
||||
# Directories needed to build
|
||||
jprt.bundle.exclude.src.dirs=build
|
||||
|
||||
@ -108,7 +108,9 @@ vpath %.c $(PLATFORM_SRC)/native/$(PKGDIR)/robot_child
|
||||
#
|
||||
|
||||
|
||||
#CFLAGS += -g
|
||||
ifeq ($(DEBUG_BINARIES), true)
|
||||
CFLAGS += -g
|
||||
endif
|
||||
ifeq ($(HEADLESS),true)
|
||||
CFLAGS += -DHEADLESS=$(HEADLESS)
|
||||
CPPFLAGS += -DHEADLESS=$(HEADLESS)
|
||||
|
||||
@ -51,9 +51,12 @@ SUBDIRS = \
|
||||
makeclasslist \
|
||||
strip_properties \
|
||||
spp \
|
||||
swing-nimbus \
|
||||
CharsetMapping
|
||||
|
||||
ifndef DISABLE_NIMBUS
|
||||
SUBDIRS += swing-nimbus
|
||||
endif
|
||||
|
||||
all build clean clobber::
|
||||
$(SUBDIRS-loop)
|
||||
|
||||
|
||||
@ -610,14 +610,19 @@ LCMSBOOL _cmsModifyTagData(cmsHPROFILE hProfile, icTagSignature sig,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (!Icc->Grow(Icc, delta)) {
|
||||
free(ptr);
|
||||
if(isNew) {
|
||||
Icc->TagCount--;
|
||||
/* We change the size of Icc here only if we know it'll actually
|
||||
* grow: if Icc is about to shrink we must wait until we've read
|
||||
* the previous data. */
|
||||
if (delta > 0) {
|
||||
if (!Icc->Grow(Icc, delta)) {
|
||||
free(ptr);
|
||||
if(isNew) {
|
||||
Icc->TagCount--;
|
||||
}
|
||||
J2dRlsTraceLn(J2D_TRACE_ERROR,
|
||||
"_cmsModifyTagData: Icc->Grow() == FALSE");
|
||||
return FALSE;
|
||||
}
|
||||
J2dRlsTraceLn(J2D_TRACE_ERROR,
|
||||
"_cmsModifyTagData: Icc->Grow() == FALSE");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Compute size of tag data before/after the modified tag */
|
||||
@ -680,6 +685,18 @@ LCMSBOOL _cmsModifyTagData(cmsHPROFILE hProfile, icTagSignature sig,
|
||||
temp = TransportValue32(profileSize);
|
||||
Icc->Write(Icc, sizeof(icUInt32Number), &temp);
|
||||
|
||||
/* Shrink Icc, if needed. */
|
||||
if (delta < 0) {
|
||||
if (!Icc->Grow(Icc, delta)) {
|
||||
free(ptr);
|
||||
if(isNew) {
|
||||
Icc->TagCount--;
|
||||
}
|
||||
J2dRlsTraceLn(J2D_TRACE_ERROR,
|
||||
"_cmsModifyTagData: Icc->Grow() == FALSE");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Adjust tag offsets: if the tag is new, we must account
|
||||
for the new tag table entry; otherwise, only those tags after
|
||||
|
||||
@ -464,7 +464,8 @@ void AwtWindow::CreateHWnd(JNIEnv *env, LPCWSTR title,
|
||||
size_t length = env->GetStringLength(javaWarningString) + 1;
|
||||
warningString = new WCHAR[length];
|
||||
env->GetStringRegion(javaWarningString, 0,
|
||||
static_cast<jsize>(length - 1), warningString);
|
||||
static_cast<jsize>(length - 1),
|
||||
reinterpret_cast<jchar*>(warningString));
|
||||
warningString[length-1] = L'\0';
|
||||
|
||||
env->DeleteLocalRef(javaWarningString);
|
||||
|
||||
@ -189,6 +189,7 @@ jtreg_tests: prep $(JT_HOME) $(PRODUCT_HOME) $(JTREG)
|
||||
$(shell $(GETMIXEDPATH) "$(JTREG)") \
|
||||
-a -v:fail,error \
|
||||
-ignore:quiet \
|
||||
-timeoutFactor:2 \
|
||||
$(EXTRA_JTREG_OPTIONS) \
|
||||
-r:$(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTreport \
|
||||
-w:$(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTwork \
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 6576763
|
||||
* @ignore until hotspot 6776144 bug is resolved
|
||||
* @summary (thread) Thread constructors throw undocumented NPE for null name
|
||||
*/
|
||||
|
||||
|
||||
@ -23,6 +23,7 @@
|
||||
/**
|
||||
* @test
|
||||
* @bug 4126805
|
||||
* @ignore until 6842022 is resolved
|
||||
* @run applet RestrictedBundleTest.html
|
||||
* @summary I was able to reproduce this bug with 1.2b2, but not with the current 1.2
|
||||
* build. It appears that it was fixed by changes to the class-loading mechanism,
|
||||
|
||||
@ -24,6 +24,7 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 6499848
|
||||
* @ignore until 6842353 is resolved
|
||||
* @summary Check that iterators work properly in the presence of
|
||||
* concurrent finalization and removal of elements.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user