langtools/test/com/sun/javadoc/AuthorDD/AuthorDD.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
child 1787 1aa079321cd2
--- a/langtools/test/com/sun/javadoc/AuthorDD/AuthorDD.java	Tue Oct 14 17:05:48 2008 +0100
+++ b/langtools/test/com/sun/javadoc/AuthorDD/AuthorDD.java	Wed Oct 15 08:07:59 2008 -0700
@@ -72,7 +72,8 @@
 
     /** Run javadoc */
     public static void runJavadoc(String[] javadocArgs) {
-        if (com.sun.tools.javadoc.Main.execute(javadocArgs) != 0) {
+        if (com.sun.tools.javadoc.Main.execute(AuthorDD.class.getClassLoader(),
+                                               javadocArgs) != 0) {
             throw new Error("Javadoc failed to execute");
         }
     }