langtools/test/tools/javadoc/sourceOnly/p/SourceOnly.java
changeset 1475 19c0851667ca
parent 10 06bc494ca11e
child 1652 1324f96f3883
--- a/langtools/test/tools/javadoc/sourceOnly/p/SourceOnly.java	Tue Oct 14 17:05:48 2008 +0100
+++ b/langtools/test/tools/javadoc/sourceOnly/p/SourceOnly.java	Wed Oct 15 08:07:59 2008 -0700
@@ -31,7 +31,7 @@
     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();
     }