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

shutdown hook is not called when Java code is interrupted by ctrl-c in tiger

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      On 1.4.2_xx, if you do a ctrl-c to interrupt a Java program. The shutdown hook you added in the app will be called. It's not the case in Tiger anymore.

        Attachments

          Activity

            People

            Assignee:
            myangsunw Mingyao Yang (Inactive)
            Reporter:
            mmma Marvin Ma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: