diff -Nru openjdk-ecj.orig/jaxws/build.properties openjdk-ecj/jaxws/build.properties
--- openjdk-ecj.orig/jaxws/build.properties	2009-12-27 20:28:16.000000000 +0000
+++ openjdk-ecj/jaxws/build.properties	2009-12-27 23:23:55.000000000 +0000
@@ -62,6 +62,9 @@
 build.dir=${output.dir}/build
 build.classes.dir=${build.dir}/classes
 
+# JAXP built files
+jaxp.classes.dir=${output.dir}/../jaxp/build/classes
+
 # Distributed results
 dist.dir=${output.dir}/dist
 dist.lib.dir=${dist.dir}/lib
diff -Nru openjdk-ecj.orig/jaxws/build.xml openjdk-ecj/jaxws/build.xml
--- openjdk-ecj.orig/jaxws/build.xml	2009-12-27 20:30:37.000000000 +0000
+++ openjdk-ecj/jaxws/build.xml	2009-12-27 23:24:44.000000000 +0000
@@ -115,7 +115,7 @@
 	    depends="init, -init-src-dirs, -build-prep">
         <javac 
 	     includeAntRuntime="false" 
-	     classpath="${build.classes.dir}:${tools.jar}"
+	     classpath="${jaxp.classes.dir}:${build.classes.dir}:${tools.jar}"
 	     fork="true"
              destdir="${build.classes.dir}"
              memoryInitialSize="${javac.memoryInitialSize}"
