diff --git a/test/tools/apt/Discovery/discovery.sh b/test/tools/apt/Discovery/discovery.sh index fbec6d62f30ee86ff36e527bb2c40efb19f90c2d..73d4087b74a3ba2d4d86e937e3250ac8dd5d40ae 100644 --- a/test/tools/apt/Discovery/discovery.sh +++ b/test/tools/apt/Discovery/discovery.sh @@ -109,7 +109,8 @@ cp ${TESTSRC}/servicesPhantomTouch ./META-INF/services/com.sun.mirror.apt.Annota ${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