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

(process) Cannot send arbitary signals to UNIX process

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.2
    • core-libs



      Name: rmT116609 Date: 08/28/2003


      A DESCRIPTION OF THE REQUEST :
      There is no way to send a UNIX signal to a spawned process.

      We are happy with taking the Process object and casting it to a UNIXProcess (in unix-specific code) and using JNI to actually do the signal firing, but even this is not possible as the pid field is private to UNIXProcess.

      Could please make the useful fields non-private or supply accessor methods.


      JUSTIFICATION :
      The ability to send signals to processes is very useful. We recognise the fact that we are doing non-"Java" programming but at times this is what is required. The JDK should not stop us from doing what we want, but make it possible.
      (Incident Review ID: 199560)
      ======================================================================

            rriggs Roger Riggs
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: