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

Inconsistency in java.lang.Runtime API documentation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • docs
    • beta
    • generic
    • generic



      Name: skT88420 Date: 07/14/99


      In the documentation of Class java.lang.Runtime

      The descriptions of the following two methods are confusing:

       freeMemory()
      Returns the amount of free memory in the system.

       totalMemory()
      Returns the total amount of memory in the Java Virtual Machine.

      The first API should be documented as
      "Returns the amount of free memory in the Java Virtual Machine."

      System may refer to the programmer as the operating system that the JVM resides on.
      (Review ID: 85582)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: