test/tools/doclint/HtmlAttrsTest.java

Thu, 21 Feb 2013 15:26:46 +0000

author
mcimadamore
date
Thu, 21 Feb 2013 15:26:46 +0000
changeset 1599
9f0ec00514b6
parent 1465
a22f23fb7abf
child 2110
b024fe427d24
permissions
-rw-r--r--

8007461: Regression: bad overload resolution when inner class and outer class have method with same name
Summary: Fix regression in varargs method resolution introduced by bad refactoring
Reviewed-by: jjg

     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