langtools/test/tools/javadoc/generics/supertypes/Main.java
changeset 40316 20b50a99fe8d
parent 30730 d3ce7619db2c
equal deleted inserted replaced
40315:9e994c77db6a 40316:20b50a99fe8d
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    25  * @test
    25  * @test
    26  * @bug 4922918
    26  * @bug 4922918
    27  * @summary Check supertypes and superinterfaces of parameterized types.
    27  * @summary Check supertypes and superinterfaces of parameterized types.
    28  * @library ../../lib
    28  * @library ../../lib
    29  * @modules jdk.javadoc
    29  * @modules jdk.javadoc
    30  * @compile  ../../lib/Tester.java Main.java
    30  * @compile  ../../lib/OldToolTester.java Main.java
    31  * @run main Main
    31  * @run main Main
    32  */
    32  */
    33 
    33 
    34 import java.io.IOException;
    34 import java.io.IOException;
    35 import java.util.Comparator;
    35 import java.util.Comparator;
    36 import java.util.Arrays;
    36 import java.util.Arrays;
    37 import com.sun.javadoc.*;
    37 import com.sun.javadoc.*;
    38 
    38 
    39 public class Main extends Tester.Doclet {
    39 public class Main extends OldToolTester.Doclet {
    40 
    40 
    41     private static final Tester tester = new Tester("Main", "pkg1");
    41     private static final OldToolTester tester = new OldToolTester("Main", "pkg1");
    42 
    42 
    43     public static void main(String[] args) throws IOException {
    43     public static void main(String[] args) throws IOException {
    44         tester.run();
    44         tester.run();
    45         tester.verify();
    45         tester.verify();
    46     }
    46     }