Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289610 Degrade Thread.stop
  3. JDK-8289616

Drop use of Thread.stop in AppContext

    XMLWordPrintable

Details

    • b11

    Description

      sun.awt.AppContext.dispose uses Thread.stop to "stop" all threads in a thread group that don't response to Thread.interrupt within 1s. This code will break once Thread.stop has been degraded to throw UOE unconditionally.

      java/awt/AppContext/ApplicationThreadsStop/ApplicationThreadsStop.java is one test that seems to exercise this code.

      Attachments

        Issue Links

          Activity

            People

              prr Philip Race
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: