test/jdk/javadoc/tool/generics/tparamCycle/Main.java
Print this page
@@ -23,10 +23,11 @@
/*
* @test
* @bug 4421066
* @summary Check a type parameter whose bound cycles back on itself.
+ * @ignore API modifications
* @library ../../lib
* @modules jdk.javadoc
* @compile ../../lib/Tester.java Main.java
* @run main Main
*/
@@ -40,11 +41,11 @@
public static void main(String[] args) throws IOException {
tester.run();
}
- public static boolean start(RootDoc root) {
+ public static boolean run(DocletEnvironment root) {
ClassDoc cd = root.classes()[0];
System.out.println("*** " + cd);
TypeVariable E = cd.typeParameters()[0];
System.out.println("*** " + E);
Type bound = E.bounds()[0];