7058133: Javah should use the freshly built classes instead of those from the BOOTDIR jdk
authorvaleriep
Thu, 30 Jun 2011 18:42:37 -0700
changeset 10111 0b0ad1a4b88a
parent 10076 910916c35758
child 10112 efb5a508b440
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
jdk/make/sun/security/ec/Makefile
jdk/make/sun/security/mscapi/Makefile
--- 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