--- 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();