Mercurial > hg > jdk9-shenandoah > jdk
changeset 11724:7808bef3104c
8076557: The specified procedure could not be found in management.dll
Reviewed-by: tbell, ihse, sla
author | erikj |
---|---|
date | Wed, 08 Apr 2015 10:37:54 +0200 |
parents | 85380cfe4f0f |
children | 4d88a8e1d23e |
files | make/lib/Lib-java.management.gmk |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/make/lib/Lib-java.management.gmk Tue Apr 07 10:33:08 2015 +0100 +++ b/make/lib/Lib-java.management.gmk Wed Apr 08 10:37:54 2015 +0200 @@ -38,6 +38,11 @@ $(LIBJAVA_HEADER_FLAGS) \ # +# In (at least) VS2013 and later, -DPSAPI_VERSION=1 is needed to generate +# a binary that is compatible with windows versions older than 7/2008R2. +# See MSDN documentation for GetProcessMemoryInfo for more information. +BUILD_LIBMANAGEMENT_CFLAGS += -DPSAPI_VERSION=1 + BUILD_LIBMANAGEMENT_EXCLUDES := ifneq ($(OPENJDK_TARGET_OS), solaris)