test/tools/javac/doctree/SeeTest.java

changeset 2268
b4e592c5314d
parent 1409
33abf479f202
child 2525
2eb010b6cb22
equal deleted inserted replaced
2267:3b9176029091 2268:b4e592c5314d
1 /* 1 /*
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2012, 2014, 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.
21 * questions. 21 * questions.
22 */ 22 */
23 23
24 /* 24 /*
25 * @test 25 * @test
26 * @bug 7021614 26 * @bug 7021614 8031212
27 * @summary extend com.sun.source API to support parsing javadoc comments 27 * @summary extend com.sun.source API to support parsing javadoc comments
28 * @build DocCommentTester 28 * @build DocCommentTester
29 * @run main DocCommentTester SeeTest.java 29 * @run main DocCommentTester SeeTest.java
30 */ 30 */
31 31
39 DocComment[DOC_COMMENT, pos:1 39 DocComment[DOC_COMMENT, pos:1
40 firstSentence: 1 40 firstSentence: 1
41 Text[TEXT, pos:1, abc.] 41 Text[TEXT, pos:1, abc.]
42 body: empty 42 body: empty
43 block tags: 1 43 block tags: 1
44 Erroneous[ERRONEOUS, pos:7 44 See[SEE, pos:7
45 code: compiler.err.dc.unexpected.content 45 reference: 1
46 body: @see_"String" 46 Text[TEXT, pos:12, "String"]
47 ] 47 ]
48 ] 48 ]
49 */ 49 */
50 50
51 /** 51 /**

mercurial