langtools/test/tools/javadoc/sourceOption/SourceOption.java
changeset 1475 19c0851667ca
parent 813 ab91293d33f4
child 1652 1324f96f3883
--- a/langtools/test/tools/javadoc/sourceOption/SourceOption.java	Tue Oct 14 17:05:48 2008 +0100
+++ b/langtools/test/tools/javadoc/sourceOption/SourceOption.java	Wed Oct 15 08:07:59 2008 -0700
@@ -36,6 +36,7 @@
         if (com.sun.tools.javadoc.Main.execute(
                 "javadoc",
                 "SourceOption",
+                SourceOption.class.getClassLoader(),
                 new String[] {"-source", "1.3", "p"}) != 0)
             throw new Error("Javadoc encountered warnings or errors.");
     }