test/jdk/javadoc/doclet/testBaseClass/TestBaseClass.java

Print this page

        

@@ -41,11 +41,11 @@
     }
 
     @Test
     void test() {
         javadoc("-sourcepath", testSrc,
-                "-docletpath", testSrc,
+                "-docletpath", System.getProperty("test.classes", "."),
                 "-doclet", "BaseClass",
                 testSrc("Bar.java"), "baz");
         checkExit(Exit.OK);
     }
 }