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

destroy() in class Process does not work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 1.0, unknown
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.4

      Description

      I have a program which execs a process...

                  try {
                      p = Runtime.getRuntime().exec(cmd);
                  } catch (Throwable e) {
                      build.buildFrame.setStatusLabel("Can't exec " + cmd);
                      return;
                  }

      The user is allowed to kill the process, in which case the code calls p.destroy().

      This does nothing.

      The description field as copied from bug report 1229601 follows:

      Can't stop a build.

      - start JDE
      - press Build button on toolbar
      - start a build by pressing the "Initiate a build" button on the buttonbar
      - press "Stop the build" button on buttonbar

      the build continues and runs to completion.

        Attachments

          Activity

            People

            • Assignee:
              egilbertsunw Eric Gilbertson (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: