Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4496270

stddoclet: @param and @return are not always copied down from supertype

XMLWordPrintable

    • beta3
    • generic
    • generic
    • Verified

      In the following example, the method description is copied down, but the @param and @return are not. This appears to be contrary to the documentation.

      package jd;

      public class JD {
          /**
           * description
           *
           * @param o object
           * @return value
           * @throws IOException because
           */
          public boolean foo(Object o) throws java.io.IOException {
      return false;
          }

          public static class Bar extends JD {
      /**
      * @throws IOException why not
      */
      public boolean foo(Object o) throws java.io.IOException {
      return false;
      }
          }
      }

            jhosunw Jamie Ho (Inactive)
            bscheiflsunw Bob Scheifler (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: