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

(reflect spec) Void Class: Field Summary: TYPE documentation does not confirm the JLS

XMLWordPrintable

      Name: rmT116609 Date: 04/09/2002


       FULL PRODUCT VERSION :
       java version "1.4.0"
       Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
       Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)

       DESCRIPTION OF THE PROBLEM :

       Documentation for java.lang.Void class field 'TYPE' available at
       http://java.sun.com/j2se/1.4/docs/api/index.html does not confirm the JLS.

       As per JLS there is no 'void' primitive type, but documentation for field "TYPE" contradicts this.

       Documentation for field TYPE is:

       The Class object representing the <b>primitive</b> Java type void.

       Bug Id: 4395133 states the same bug for class definition and that bug has been fixed by replacing "primitive java type" with "Java keyword".

       Same treminology should also be used for field TYPE of Void class.

       This bug can be reproduced always.
      (Review ID: 145164)
      ======================================================================

            darcy Joe Darcy
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: