equal
deleted
inserted
replaced
34 |
34 |
35 public class XWerror extends Doclet |
35 public class XWerror extends Doclet |
36 { |
36 { |
37 public static void main(String[] args) { |
37 public static void main(String[] args) { |
38 if (com.sun.tools.javadoc.Main. |
38 if (com.sun.tools.javadoc.Main. |
39 execute("javadoc", "XWerror", |
39 execute("javadoc", "XWerror", XWerror.class.getClassLoader(), |
40 new String[] {"-Xwerror", |
40 new String[] {"-Xwerror", |
41 System.getProperty("test.src", ".") + |
41 System.getProperty("test.src", ".") + |
42 java.io.File.separatorChar + |
42 java.io.File.separatorChar + |
43 "XWerror.java"}) == 0) |
43 "XWerror.java"}) == 0) |
44 throw new Error(); |
44 throw new Error(); |