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

RFE: Please provide access to process ID

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P4
    • None
    • 1.2.1
    • core-libs
    • generic
    • generic

    Description



      Name: rlT66838 Date: 06/29/99


      Feature request: given that all operating systems support the idea of a running process, and given that that abstraction exists in the JDK (java.lang.Process) and given that all processes are by their nature distinct from one another, it seems pretty easy to add the ability to get to the process ID in the core JDK.

      This could be accomplished in one of two ways:
      (a) public int getID() method in java.lang.Process
      (b) hashcode() of java.lang.Process could return System's pid

      Why: all sorts of reasons, but primarily at the moment we are implementing a log system that needs the process ID.
      (Review ID: 84986)
      ======================================================================

      Attachments

        Issue Links

          Activity

            People

              iris Iris Clark
              rlewis Roger Lewis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: