Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-555

run shutdown hooks on control-C

    Details

    • Type: Bug
    • Status: Open
    • Priority: Lowest
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1000
    • Component/s: Runtime
    • Labels:
      None

      Description

      We should run the shutdown hooks when we get
      control-C. The 1.4.2 API spec for
      java.lang.Runtime.addShutdownHook specifically
      states that we should run the hooks when:

      The virtual machine is terminated in response to a user
      interrupt, such as typing ^C, or a system-wide event,
      such as user logoff or system shutdown.

      We don't do it yet. (I have a test case showing this.)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              ebrangs Erik Brangs added a comment -

              If the test case is automated, it would be nice if you could attach it.

              Show
              ebrangs Erik Brangs added a comment - If the test case is automated, it would be nice if you could attach it.

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  dgrove David Grove
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated: