equal
deleted
inserted
replaced
38 "FlagsTooEarly.java"); |
38 "FlagsTooEarly.java"); |
39 |
39 |
40 if (com.sun.tools.javadoc.Main.execute( |
40 if (com.sun.tools.javadoc.Main.execute( |
41 "javadoc", |
41 "javadoc", |
42 "FlagsTooEarly", |
42 "FlagsTooEarly", |
|
43 FlagsTooEarly.class.getClassLoader(), |
43 new String[] {"-Xwerror", thisFile}) != 0) |
44 new String[] {"-Xwerror", thisFile}) != 0) |
44 throw new Error("Javadoc encountered warnings or errors."); |
45 throw new Error("Javadoc encountered warnings or errors."); |
45 } |
46 } |
46 |
47 |
47 /* |
48 /* |