test/tools/doclint/html/TagNotAllowed.java

Fri, 05 Jul 2013 11:04:22 +0100

author
mcimadamore
date
Fri, 05 Jul 2013 11:04:22 +0100
changeset 1890
bfbedbfc522a
parent 1507
967052c425a1
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8016702: use of ternary operator in lambda expression gives incorrect results
Summary: Constant types erroneously creep in during inference
Reviewed-by: jjg, vromero

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @library ..
     6  * @build DocLintTester
     7  * @run main DocLintTester -ref TagNotAllowed.out TagNotAllowed.java
     8  */
    10 /**
    11  * <dl> <b>abc</b> <dt> term </dt> <b>def</b> <dd> description </dd> <b>ghi</b> </dl>
    12  * <ol> <b>abc</b> <li> item </li> <b>def</b> <li> item </li> <b>ghi</b> </ol>
    13  * <ul> <b>abc</b> <li> item </li> <b>def</b> <li> item </li> <b>ghi</b> </ul>
    14  *
    15  * <table summary=description> <b>abc</b> </table>
    16  * <table summary=description> <thead> <b>abc</b> </thead> </table>
    17  * <table summary=description> <tbody> <b>abc</b> </tbody> </table>
    18  * <table summary=description> <tfoot> <b>abc</b> </tfoot> </table>
    19  * <table summary=description> <tr> <b>abc</b> </tr> </table>
    20  *
    21  * <pre>
    22  *   <img alt="image" src="image.png">
    23  *   <p> para </p>
    24  *   <big> text </big>
    25  *   <small> text </small>
    26  *   <sub> text </sub>
    27  *   <sup> text </sup>
    28  * </pre>
    29  */
    30 public class TagNotAllowed { }

mercurial