From 3e2f8ef7eba361d01a77273de495dea32e31d527 Mon Sep 17 00:00:00 2001 From: Valerie Peng Date: Thu, 15 Mar 2012 14:28:48 -0700 Subject: [PATCH] 7130959: Tweak 7058133 fix for JDK 8 (javah makefile changes) Fixed JAVAHFLAGS setting to use -bootclasspath. Reviewed-by: wetmore --- jdk/make/sun/security/ec/Makefile | 4 +++- jdk/make/sun/security/mscapi/Makefile | 5 +++-- jdk/make/sun/security/pkcs11/Makefile | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/jdk/make/sun/security/ec/Makefile b/jdk/make/sun/security/ec/Makefile index 146a24e7a9b..841fc3716d2 100644 --- a/jdk/make/sun/security/ec/Makefile +++ b/jdk/make/sun/security/ec/Makefile @@ -159,7 +159,9 @@ ifeq ($(NATIVE_ECC_AVAILABLE), true) $(PKGDIR)/ECDSASignature.java \ $(PKGDIR)/ECKeyPairGenerator.java - JAVAHFLAGS += -Xbootclasspath/p:$(CLASSDESTDIR) + JAVAHFLAGS = -bootclasspath \ + "$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)" + # # C and C++ files diff --git a/jdk/make/sun/security/mscapi/Makefile b/jdk/make/sun/security/mscapi/Makefile index 389d5a1a016..65eef782654 100644 --- a/jdk/make/sun/security/mscapi/Makefile +++ b/jdk/make/sun/security/mscapi/Makefile @@ -1,5 +1,5 @@ # -# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2005, 2012, 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 @@ -149,7 +149,8 @@ OTHER_INCLUDES += \ # Rules # CLASSDESTDIR = $(TEMPDIR)/classes -JAVAHFLAGS += -Xbootclasspath/p:$(CLASSDESTDIR) +JAVAHFLAGS = -bootclasspath \ + "$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)" include $(BUILDDIR)/common/Mapfile-vers.gmk diff --git a/jdk/make/sun/security/pkcs11/Makefile b/jdk/make/sun/security/pkcs11/Makefile index 7b31f20b550..d7e049d9e1f 100644 --- a/jdk/make/sun/security/pkcs11/Makefile +++ b/jdk/make/sun/security/pkcs11/Makefile @@ -150,7 +150,8 @@ OTHER_INCLUDES += \ # Rules # CLASSDESTDIR = $(TEMPDIR)/classes -JAVAHFLAGS = -bootclasspath "$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)" +JAVAHFLAGS = -bootclasspath \ + "$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR)" include $(BUILDDIR)/common/Mapfile-vers.gmk