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

java.lang.reflect.Constructor class has wrong api documentation

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      1- getDeclaringClass method documentation should include only class keyword and not interface, because interfaces cannot contain constructors.
      2- toString method documentation should add also throws description
      3- toGenericString method documentation should remove the sentence "or return type"


      URL OF FAULTY DOCUMENTATION :
      https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Constructor.html

            darcy Joe Darcy
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: