27 * @summary javadoc throws exception if serialField value is missing
28 * @library ../lib
29 * @modules jdk.javadoc
30 * @build JavadocTester
31 * @run main T6735320
32 */
33
34 public class T6735320 extends JavadocTester {
35
36 public static void main(String... args) throws Exception {
37 T6735320 tester = new T6735320();
38 tester.runTests();
39 }
40
41 @Test
42 void test() {
43 javadoc("-d", "out",
44 testSrc("SerialFieldTest.java"));
45 checkExit(Exit.FAILED);
46 checkOutput(Output.STDERR, false,
47 "StringIndexOutOfBoundsException");
48 }
49 }
|
27 * @summary javadoc throws exception if serialField value is missing
28 * @library ../lib
29 * @modules jdk.javadoc
30 * @build JavadocTester
31 * @run main T6735320
32 */
33
34 public class T6735320 extends JavadocTester {
35
36 public static void main(String... args) throws Exception {
37 T6735320 tester = new T6735320();
38 tester.runTests();
39 }
40
41 @Test
42 void test() {
43 javadoc("-d", "out",
44 testSrc("SerialFieldTest.java"));
45 checkExit(Exit.FAILED);
46 checkOutput(Output.STDERR, false,
47 "OutOfBoundsException");
48 }
49 }
|