test/com/sun/javadoc/AuthorDD/AuthorDD.java

changeset 140
22c4c1143a3a
parent 1
9a66ca7c79fa
child 174
fdfed22db054
child 182
47a62d8d98b4
     1.1 --- a/test/com/sun/javadoc/AuthorDD/AuthorDD.java	Tue Oct 14 17:05:48 2008 +0100
     1.2 +++ b/test/com/sun/javadoc/AuthorDD/AuthorDD.java	Wed Oct 15 08:07:59 2008 -0700
     1.3 @@ -72,7 +72,8 @@
     1.4  
     1.5      /** Run javadoc */
     1.6      public static void runJavadoc(String[] javadocArgs) {
     1.7 -        if (com.sun.tools.javadoc.Main.execute(javadocArgs) != 0) {
     1.8 +        if (com.sun.tools.javadoc.Main.execute(AuthorDD.class.getClassLoader(),
     1.9 +                                               javadocArgs) != 0) {
    1.10              throw new Error("Javadoc failed to execute");
    1.11          }
    1.12      }

mercurial