$OpenBSD: patch-hotspot_build_bsd_makefiles_jvmti_make,v 1.2 2007/04/08 12:43:06 kurt Exp $
--- hotspot/build/bsd/makefiles/jvmti.make.orig	Thu Mar 29 20:06:38 2007
+++ hotspot/build/bsd/makefiles/jvmti.make	Thu Mar 29 20:06:41 2007
@@ -40,7 +40,15 @@ JvmtiGenClass = $(JvmtiOutDir)/jvmtiGen.class
 
 JvmtiGeneratedFiles = $(JvmtiGeneratedNames:%=$(JvmtiOutDir)/%)
 
+ifndef ALT_BOOTSTRAP
 XSLT = $(QUIETLY) $(RUN.JAVA) -classpath $(JvmtiOutDir) jvmtiGen
+else
+XSLT = $(QUIETLY) $(RUN.JAVA) -Xss 1048576 \
+	-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl \
+	-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \
+	-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
+	-classpath $(GAMMADIR)/../xalan-j_2_7_0/xalan.jar:$(JvmtiOutDir) jvmtiGen
+endif
 
 .PHONY: all jvmtidocs clean cleanall
 
