diff make/sun/security/pkcs11/Makefile @ 4320:3fedf261fb4f

7003952: SEC: securely load DLLs and launch executables using fully qualified path Summary: Enforce full path when specifying library locations. Reviewed-by: wetmore, ohair
author valeriep
date Tue, 26 Apr 2011 15:59:51 -0700
parents 272483f6650b
children
line wrap: on
line diff
--- a/make/sun/security/pkcs11/Makefile	Thu Apr 21 16:42:06 2011 -0700
+++ b/make/sun/security/pkcs11/Makefile	Tue Apr 26 15:59:51 2011 -0700
@@ -147,7 +147,7 @@
 # Rules
 #
 CLASSDESTDIR = $(TEMPDIR)/classes
-JAVAHFLAGS += -classpath $(CLASSDESTDIR)
+JAVAHFLAGS += -Xbootclasspath/p:$(CLASSDESTDIR)
 
 include $(BUILDDIR)/common/Mapfile-vers.gmk