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

Threads should exit gracefully when interrupted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • client-libs
    • None
    • 1.2fcs
    • generic
    • generic
    • Not verified

      Now that AppContext has a dispose() method which interrupts threads and
      waits for them to exit, all per-AppContext AWT threads should exit gracefully
      when interrupted. Thus, their event-dispatching loops should check
      isInterrupted() and the InterruptedException from wait() should cause the
      run() method to return.

      This applies to the EventDispatchThread, PostEventQueue, and appletviewer
      event handler threads.

            feckssunw Fred Ecks (Inactive)
            feckssunw Fred Ecks (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: