test/tools/apt/Basics/apt.sh

Print this page

        

@@ -41,11 +41,11 @@
         SEP=":"
         ;;
 esac
 
 # Construct path to apt executable
-APT="${TESTJAVA}/bin/apt ${TESTTOOLVMOPTS}"
+APT="${TESTJAVA}/bin/apt ${TESTTOOLVMOPTS} -XDsuppress-tool-api-removal-message "
 
 printf "%s\n" "-classpath ${TESTCLASSES}"                    > options
 printf "%s\n" "-factorypath ./nullap.jar"                   >> options
 printf "%s\n" "-sourcepath ${TESTSRC} "                     >> options
 printf "%s\n" "-nocompile"                                  >> options

@@ -56,10 +56,11 @@
 printf "%s\n" "-sourcepath ${TESTSRC} "                     >> options1
 printf "%s\n" "-nocompile"                                  >> options1
 printf "%s\n" "-XListAnnotationTypes"                       >> options1
 printf "%s\n" "-XclassesAsDecls"                            >> options1
 
+
 # Construct path to javac executable
 JAVAC="${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} -source 1.5 -sourcepath ${TESTSRC} -classpath ${TESTJAVA}/lib/tools.jar -d . "
 JAR="${TESTJAVA}/bin/jar "
 
 $JAVAC ${TESTSRC}/NullAPF.java \