langtools/test/tools/javadoc/lib/Tester.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
--- a/langtools/test/tools/javadoc/lib/Tester.java	Tue Oct 14 17:05:48 2008 +0100
+++ b/langtools/test/tools/javadoc/lib/Tester.java	Wed Oct 15 08:07:59 2008 -0700
@@ -89,7 +89,9 @@
     public void run() throws IOException {
         try {
             if (com.sun.tools.javadoc.Main.execute("javadoc",
-                                                   docletName, args) != 0) {
+                                                   docletName,
+                                                   getClass().getClassLoader(),
+                                                   args) != 0) {
                 throw new Error("Javadoc errors encountered.");
             }
             System.out.println("--> Output written to " + outputFile);