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

Class java.lang.Void described as a type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • docs
    • None
    • beta
    • generic
    • generic

      The doucumentation for java.lang.Void states that:

      "The Void class is an uninstantiable placeholder class to hold a reference
      to the Class object representing the primitive Java type void"

      See JLS 14.8 (page 287) which categorically states that void is not a type
      in Java.

      gilad.bracha@eng 2000-12-05

            shommel Scott Hommel (Inactive)
            gbrachasunw Gilad Bracha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: