Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4382

JavaDoc Inspect and Transform doesn't work with a Generic class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 11.0
    • None
    • None
    • NetBEans 11 (Build incubator-netbeans-release-404-on-20190319)
      Java 8

    Description

       

      public abstract class MyClass<E extends Throwable> {    
          /**
           * The saved exception (if any)
           */
          private E savedException = null;    
      
          /**
           * Work to be done
           * @throws E
           */
          public abstract void doWork() 
                  throws E;
      }
      
      

      NetBeans continuously labels doWork as missing the parameter "@throws E".  Running the inspect and transform will keep adding "@throws E" and still say it is missing.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jlmccay Joseph L McCay
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: