langtools/test/tools/javadoc/MaxWarns.java
changeset 15354 52a04c670c05
parent 15041 0676d2a112ff
child 30730 d3ce7619db2c
--- a/langtools/test/tools/javadoc/MaxWarns.java	Thu Jan 10 15:48:46 2013 -0800
+++ b/langtools/test/tools/javadoc/MaxWarns.java	Thu Jan 10 19:38:57 2013 -0800
@@ -74,7 +74,7 @@
     String javadoc(File f) {
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
-        String[] args = { "-d", "api", f.getPath() };
+        String[] args = { "-Xdoclint:none", "-d", "api", f.getPath() };
         int rc = com.sun.tools.javadoc.Main.execute("javadoc", pw, pw, pw,
                 com.sun.tools.doclets.standard.Standard.class.getName(), args);
         pw.flush();