--- 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();
}