changeset 148:2eec479619d8

6760930: empty element on bootclasspath breaks test/tools/apt/Discovery/discovery.sh Reviewed-by: darcy
author jjg
date Fri, 17 Oct 2008 16:06:32 -0700
parents eca4bf37b66e
children acc41893695b
files test/tools/apt/Discovery/discovery.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/apt/Discovery/discovery.sh	Fri Oct 17 10:34:06 2008 -0700
+++ b/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