7058133: Javah should use the freshly built classes instead of those from the BOOTDIR jdk
Summary: Changed javah to use the newly built classes specified by $(CLASSDESTDIR)
Reviewed-by: vinnie
--- a/jdk/make/sun/security/ec/Makefile Tue Jun 28 10:09:56 2011 +0100
+++ b/jdk/make/sun/security/ec/Makefile Thu Jun 30 18:42:37 2011 -0700
@@ -156,7 +156,7 @@
$(PKGDIR)/ECDSASignature.java \
$(PKGDIR)/ECKeyPairGenerator.java
- JAVAHFLAGS += -classpath $(CLASSDESTDIR)
+ JAVAHFLAGS += -Xbootclasspath/p:$(CLASSDESTDIR)
#
# C and C++ files
--- a/jdk/make/sun/security/mscapi/Makefile Tue Jun 28 10:09:56 2011 +0100
+++ b/jdk/make/sun/security/mscapi/Makefile Thu Jun 30 18:42:37 2011 -0700
@@ -149,7 +149,7 @@
# Rules
#
CLASSDESTDIR = $(TEMPDIR)/classes
-JAVAHFLAGS += -classpath $(CLASSDESTDIR)
+JAVAHFLAGS += -Xbootclasspath/p:$(CLASSDESTDIR)
include $(BUILDDIR)/common/Mapfile-vers.gmk