404N/A/*
404N/A * Copyright 2009 Google, Inc. All Rights Reserved.
404N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
404N/A *
404N/A * This code is free software; you can redistribute it and/or modify it
404N/A * under the terms of the GNU General Public License version 2 only, as
404N/A * published by the Free Software Foundation.
404N/A *
404N/A * This code is distributed in the hope that it will be useful, but WITHOUT
404N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
404N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
404N/A * version 2 for more details (a copy is included in the LICENSE file that
404N/A * accompanied this code).
404N/A *
404N/A * You should have received a copy of the GNU General Public License version
404N/A * 2 along with this work; if not, write to the Free Software Foundation,
404N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
404N/A *
553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
553N/A * or visit www.oracle.com if you need additional information or have any
553N/A * questions.
404N/A */
404N/A
404N/A/*
404N/A * @test
404N/A * @bug 5093723
404N/A * @summary REGRESSION: ClassCastException in SingleIndexWriter
404N/A * @library ../lib/
404N/A * @build JavadocTester
404N/A * @build T5093723
404N/A * @run main T5093723
404N/A */
404N/A
404N/Apublic class T5093723 extends JavadocTester {
404N/A
404N/A private static final String BUG_ID = "5093723";
404N/A
404N/A private static final String[] ARGS = new String[] {
404N/A "-d", BUG_ID + ".out", "-source", "5",
404N/A SRC_DIR + "/DocumentedClass.java",
404N/A SRC_DIR + "/UndocumentedClass.java"
404N/A };
404N/A
404N/A public static void main(String... args) {
404N/A T5093723 tester = new T5093723();
404N/A if (tester.runJavadoc(ARGS) != 0)
404N/A throw new AssertionError("non-zero return code from javadoc");
404N/A }
404N/A
404N/A public String getBugId() {
404N/A return BUG_ID;
404N/A }
404N/A
404N/A public String getBugName() {
404N/A return getClass().getName();
404N/A }
404N/A}