test/tools/javac/doctree/SeeTest.java

changeset 2268
b4e592c5314d
parent 1409
33abf479f202
child 2525
2eb010b6cb22
     1.1 --- a/test/tools/javac/doctree/SeeTest.java	Thu Feb 13 20:34:27 2014 +0400
     1.2 +++ b/test/tools/javac/doctree/SeeTest.java	Mon Jan 27 16:07:32 2014 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -23,7 +23,7 @@
    1.11  
    1.12  /*
    1.13   * @test
    1.14 - * @bug 7021614
    1.15 + * @bug 7021614 8031212
    1.16   * @summary extend com.sun.source API to support parsing javadoc comments
    1.17   * @build DocCommentTester
    1.18   * @run main DocCommentTester SeeTest.java
    1.19 @@ -41,9 +41,9 @@
    1.20      Text[TEXT, pos:1, abc.]
    1.21    body: empty
    1.22    block tags: 1
    1.23 -    Erroneous[ERRONEOUS, pos:7
    1.24 -      code: compiler.err.dc.unexpected.content
    1.25 -      body: @see_"String"
    1.26 +    See[SEE, pos:7
    1.27 +      reference: 1
    1.28 +        Text[TEXT, pos:12, "String"]
    1.29      ]
    1.30  ]
    1.31  */

mercurial