langtools/test/tools/javac/depOverrides/doccomment/R.java
changeset 10 06bc494ca11e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/depOverrides/doccomment/R.java	Sat Dec 01 00:00:00 2007 +0000
@@ -0,0 +1,26 @@
+/* /nodynamiccopyright/ */
+// combinations of methods defined in a base class
+// and overridden in subtypes
+
+// class should compile with warnings as shown
+
+class R extends Q {
+    /** @deprecated */ public void pDep_qDep_rDep() { }
+                       public void pDep_qDep_rUnd() { } // warn
+    //                 public void pDep_qDep_rInh() { }
+    /** @deprecated */ public void pDep_qUnd_rDep() { }
+                       public void pDep_qUnd_rUnd() { }
+    //                 public void pDep_qUnd_rInh() { }
+    /** @deprecated */ public void pDep_qInh_rDep() { }
+                       public void pDep_qInh_rUnd() { } // warn
+    //                 public void pDep_qInh_rInh() { }
+    /** @deprecated */ public void pUnd_qDep_rDep() { }
+                       public void pUnd_qDep_rUnd() { } // warn
+    //                 public void pUnd_qDep_rInh() { }
+    /** @deprecated */ public void pUnd_qUnd_rDep() { }
+                       public void pUnd_qUnd_rUnd() { }
+    //                 public void pUnd_qUnd_rInh() { }
+    /** @deprecated */ public void pUnd_qInh_rDep() { }
+                       public void pUnd_qInh_rUnd() { }
+    //                 public void pUnd_qInh_rInh() { }
+}