$OpenBSD: patch-hotspot_build_bsd_makefiles_jvmti_make,v 1.1 2011/10/07 02:04:12 kurt Exp $
--- hotspot/build/bsd/makefiles/jvmti.make.orig	Mon Sep 26 17:04:53 2011
+++ hotspot/build/bsd/makefiles/jvmti.make	Mon Sep 26 17:05:24 2011
@@ -39,7 +39,15 @@ JvmtiGenClass = $(JvmtiOutDir)/jvmtiGen.class
 
 JvmtiGeneratedFiles = $(JvmtiGeneratedNames:%=$(JvmtiOutDir)/%)
 
-XSLT = $(QUIETLY) $(RUN.JAVA) -classpath $(JvmtiOutDir) jvmtiGen
+ifndef ALT_BOOTSTRAP
+ XSLT = $(QUIETLY) $(RUN.JAVA) -classpath $(JvmtiOutDir) jvmtiGen
+else
+XSLT = $(QUIETLY) $(RUN.JAVA) \
+       -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
 
