6760930: empty element on bootclasspath breaks test/tools/apt/Discovery/discovery.sh
Reviewed-by: darcy
--- a/langtools/test/tools/apt/Discovery/discovery.sh Fri Oct 17 10:34:06 2008 -0700
+++ b/langtools/test/tools/apt/Discovery/discovery.sh Fri Oct 17 16:06:32 2008 -0700
@@ -109,7 +109,8 @@
${JAR} cf0 phantom/phantom.jar PhantomTouch*.class META-INF
-
+# cleanup file to prevent accidental discovery in current directory
+rm -f META-INF/services/com.sun.mirror.apt.AnnotationProcessorFactory
# Jar files created; verify right output file is touched