test/tools/javac/depOverrides/doccomment/B2.java

Wed, 13 Aug 2014 14:50:00 -0700

author
katleman
date
Wed, 13 Aug 2014 14:50:00 -0700
changeset 2549
0b6cc4ea670f
parent 0
959103a6100f
permissions
-rw-r--r--

Added tag jdk8u40-b01 for changeset bf89a471779d

     1 /* /nodynamiccopyright/ */
     2 // combinations of methods defined in an interface
     3 // and overridden in subtypes
     5 // class should compile with deprecation warnings as shown
     7 abstract class B2 extends A implements I {
     8     /** @deprecated */ public void iDep_aDep_bDep() { }
     9                        public void iDep_aDep_bUnd() { } // warn x 2, because of I and A
    10     //                 public void iDep_aDep_bInh() { }
    11     /** @deprecated */ public void iDep_aUnd_bDep() { }
    12                        public void iDep_aUnd_bUnd() { } // warn
    13     //                 public void iDep_aUnd_bInh() { } // warn
    14     /** @deprecated */ public void iDep_aInh_bDep() { }
    15                        public void iDep_aInh_bUnd() { } // warn
    16     //                 public void iDep_aInh_bInh() { }
    17     /** @deprecated */ public void iUnd_aDep_bDep() { }
    18                        public void iUnd_aDep_bUnd() { } // warn
    19     //                 public void iUnd_aDep_bInh() { }
    20     /** @deprecated */ public void iUnd_aUnd_bDep() { }
    21                        public void iUnd_aUnd_bUnd() { }
    22     //                 public void iUnd_aUnd_bInh() { }
    23     /** @deprecated */ public void iUnd_aInh_bDep() { }
    24                        public void iUnd_aInh_bUnd() { }
    25     //                 public void iUnd_aInh_bInh() { }
    26 }

mercurial