test/tools/doclint/HtmlAttrsTest.java

Mon, 01 Jul 2013 14:57:03 +0100

author
mcimadamore
date
Mon, 01 Jul 2013 14:57:03 +0100
changeset 1875
f559ef7568ce
parent 1465
a22f23fb7abf
child 2110
b024fe427d24
permissions
-rw-r--r--

7034798: Ambiguity error for abstract method call is too eager
Summary: Javac should wait and see if ambiguous methods can be reconciled at the end of an overload resolution round
Reviewed-by: jjg, vromero

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug 8004832
     4  * @summary Add new doclint package
     5  * @build DocLintTester
     6  * @run main DocLintTester -Xmsgs:-html HtmlAttrsTest.java
     7  * @run main DocLintTester -ref HtmlAttrsTest.out HtmlAttrsTest.java
     8  */
    10 /** */
    11 public class HtmlAttrsTest {
    12     /**
    13      * <p xyz>
    14      */
    15     public void unknown() { }
    17     /**
    18      * <img name="x" alt="alt">
    19      */
    20     public void obsolete() { }
    22     /**
    23      * <font size="3"> text </font>
    24      */
    25     public void obsolete_use_css() { }
    26 }

mercurial