--- a/langtools/test/tools/javadoc/T4994049/T4994049.java Tue Oct 14 17:05:48 2008 +0100
+++ b/langtools/test/tools/javadoc/T4994049/T4994049.java Wed Oct 15 08:07:59 2008 -0700
@@ -55,7 +55,8 @@
public static void main(String... args) {
for (String file : args) {
File source = new File(System.getProperty("test.src", "."), file);
- if (execute("javadoc", "T4994049", new String[]{source.getPath()} ) != 0)
+ if (execute("javadoc", "T4994049", T4994049.class.getClassLoader(),
+ new String[]{source.getPath()} ) != 0)
throw new Error();
}
}