6760805: empty element on bootclasspath breaks test/tools/apt/Compile/compile.sh
authorjjg
Fri, 17 Oct 2008 10:34:06 -0700
changeset 1483 2540545cd060
parent 1482 5a6b392f0556
child 1484 93e942204a19
6760805: empty element on bootclasspath breaks test/tools/apt/Compile/compile.sh Reviewed-by: darcy
langtools/test/tools/apt/Compile/compile.sh
--- a/langtools/test/tools/apt/Compile/compile.sh	Thu Oct 16 16:53:56 2008 -0700
+++ b/langtools/test/tools/apt/Compile/compile.sh	Fri Oct 17 10:34:06 2008 -0700
@@ -473,6 +473,9 @@
 cp ${TESTCLASSES}/Round?.class .
 ${JAR} cf0 rounds.jar Round?.class
 
+# cleanup file to prevent accidental discovery in current directory
+rm -Rf META-INF/services/*
+
 printf "%s\n" "-factorypath round1Apf.jar${SEP}round2Apf.jar${SEP}round3Apf.jar${SEP}round4Apf.jar"   > options8
 printf "%s\n" "-classpath rounds.jar"  >> options8
 printf "%s\n" "-s ./src"               >> options8