< prev index next >

test/langtools/jdk/javadoc/doclet/testSingletonLists/TestSingletonLists.java

Print this page




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test

  26  * @bug 8219998 8221991
  27  * @summary Eliminate inherently singleton lists
  28  * @library /tools/lib ../../lib
  29  * @modules jdk.javadoc/jdk.javadoc.internal.tool
  30  * @modules jdk.compiler/com.sun.tools.javac.api
  31  *          jdk.compiler/com.sun.tools.javac.main
  32  *          jdk.javadoc/jdk.javadoc.internal.api
  33  *          jdk.javadoc/jdk.javadoc.internal.tool
  34  * @build toolbox.ToolBox toolbox.JavacTask javadoc.tester.*
  35  * @run main TestSingletonLists
  36  */
  37 
  38 import java.io.IOException;
  39 import java.io.PrintStream;
  40 import java.nio.file.Path;
  41 import java.util.ArrayList;
  42 import java.util.List;
  43 import java.util.Map;
  44 import java.util.Stack;
  45 import java.util.TreeMap;




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @ignore 8227415
  27  * @bug 8219998 8221991
  28  * @summary Eliminate inherently singleton lists
  29  * @library /tools/lib ../../lib
  30  * @modules jdk.javadoc/jdk.javadoc.internal.tool
  31  * @modules jdk.compiler/com.sun.tools.javac.api
  32  *          jdk.compiler/com.sun.tools.javac.main
  33  *          jdk.javadoc/jdk.javadoc.internal.api
  34  *          jdk.javadoc/jdk.javadoc.internal.tool
  35  * @build toolbox.ToolBox toolbox.JavacTask javadoc.tester.*
  36  * @run main TestSingletonLists
  37  */
  38 
  39 import java.io.IOException;
  40 import java.io.PrintStream;
  41 import java.nio.file.Path;
  42 import java.util.ArrayList;
  43 import java.util.List;
  44 import java.util.Map;
  45 import java.util.Stack;
  46 import java.util.TreeMap;


< prev index next >