6760930: empty element on bootclasspath breaks test/tools/apt/Discovery/discovery.sh
authorjjg
Fri, 17 Oct 2008 16:06:32 -0700
changeset 1484 93e942204a19
parent 1483 2540545cd060
child 1485 60a68702b2d4
6760930: empty element on bootclasspath breaks test/tools/apt/Discovery/discovery.sh Reviewed-by: darcy
langtools/test/tools/apt/Discovery/discovery.sh
--- 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