mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
6748541: javadoc should be reusable
Reviewed-by: bpatel
This commit is contained in:
parent
1dc1dcab49
commit
55ef4bc22e
26 changed files with 54 additions and 62 deletions
|
@ -31,7 +31,7 @@ public class SourceOnly extends com.sun.javadoc.Doclet
|
|||
public static void main(String[] args) {
|
||||
// run javadoc on package p
|
||||
int result = com.sun.tools.javadoc.Main.
|
||||
execute("javadoc", "p.SourceOnly", new String[] {"p"});
|
||||
execute("javadoc", "p.SourceOnly", SourceOnly.class.getClassLoader(), new String[] {"p"});
|
||||
if (result != 0)
|
||||
throw new Error();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue